summaryrefslogtreecommitdiff
path: root/test/files/neg/t6335.check
blob: d118440f75a92595ed21179fcfe69fd28f4f427a (plain) (blame)
1
2
3
4
5
6
7
8
9
t6335.scala:6: error: method Z is defined twice;
  the conflicting method Z was defined at line 5:7
  implicit class Z[A](val i: A) { def zz = i }
                 ^
t6335.scala:3: error: method X is defined twice;
  the conflicting method X was defined at line 2:7
  implicit class X(val x: Int) { def xx = x }
                 ^
two errors found