summaryrefslogtreecommitdiff
path: root/test/files/neg/implicit-shadow.check
blob: 042fca867a0370849afd985e032adbad4533c651 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
implicit-shadow.scala:4: <i2s: error> is not a valid implicit value for Int(1) => ?{def isEmpty: ?} because:
reference to i2s is ambiguous;
it is imported twice in the same scope by
import C._
and import B._
	1.isEmpty
        ^
implicit-shadow.scala:4: error: value isEmpty is not a member of Int
	1.isEmpty
          ^
one error found