You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t7415.scala:10: warning: Calls to parameterless method foo will be easy to mistake for calls to def foo(implicit a: T): Int, which has a single implicit parameter list.
2
+
def foo = 0 // warn
3
+
^
4
+
t7415.scala:14: warning: Usages of value foo will be easy to mistake for calls to def foo(implicit a: T): Int, which has a single implicit parameter list.
5
+
val foo = 0 // warn
6
+
^
7
+
t7415.scala:18: warning: Usages of value foo will be easy to mistake for calls to def foo(implicit a: T): Int, which has a single implicit parameter list.
8
+
private[this] val foo = 42 // warn
9
+
^
10
+
t7415.scala:31: warning: Calls to parameterless method foo will be easy to mistake for calls to def foo(implicit a: T): Int, which has a single implicit parameter list.
11
+
class Mixed extends Base with T1 // warn here
12
+
^
13
+
t7415.scala:41: warning: Usages of value foo will be easy to mistake for calls to overloads which have a single implicit parameter list:
14
+
def foo(implicit e: String): Int
15
+
def foo(implicit e: Int): Int
16
+
val foo = 0 // warn
17
+
^
18
+
t7415.scala:54: warning: Usages of value x will be easy to mistake for calls to def x(implicit t: T): Int, which has a single implicit parameter list.
19
+
def x(implicit t: T) = 27 // warn
20
+
^
21
+
t7415.scala:65: warning: Usages of value i will be easy to mistake for calls to def i(implicit t: T): Int, which has a single implicit parameter list.
22
+
class R(val i: Int) extends Q // warn
23
+
^
24
+
t7415.scala:66: warning: Usages of value i will be easy to mistake for calls to def i(implicit t: T): Int, which has a single implicit parameter list.
25
+
class S(i: Int) extends R(i) { // warn
26
+
^
27
+
t7415.scala:66: warning: Usages of value i will be easy to mistake for calls to def i(implicit t: T): Int, which has a single implicit parameter list.
28
+
class S(i: Int) extends R(i) { // warn
29
+
^
30
+
t7415.scala:76: warning: Calls to parameterless method f will be easy to mistake for calls to def f[A](implicit t: T): Int, which has a single implicit parameter list.
31
+
def f[A] = 27 // warn
32
+
^
33
+
t7415.scala:82: warning: Calls to parameterless method foo will be easy to mistake for calls to def foo(implicit a: T): Int, which has a single implicit parameter list.
0 commit comments