summaryrefslogtreecommitdiff
path: root/test/files/neg/t6335.check
blob: 1727a05eb2084c81cc78cd13695f0c8b95977c73 (plain) (blame)
1
2
3
4
5
6
7
8
9
t6335.scala:6: error: method Z is defined twice
  conflicting symbols both originated in file 't6335.scala'
  implicit class Z[A](val i: A) { def zz = i }
                 ^
t6335.scala:3: error: method X is defined twice
  conflicting symbols both originated in file 't6335.scala'
  implicit class X(val x: Int) { def xx = x }
                 ^
two errors found