summaryrefslogtreecommitdiff
path: root/test/files/neg/overloaded-implicit.check
blob: 0e6617d904331f7e0f1817a4e01951dbf7df0cd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
overloaded-implicit.scala:2: warning: parameterized overloaded implicit methods are not visible as view bounds
  implicit def imp1[T](x: List[T]): Map[T, T] = Map()
               ^
overloaded-implicit.scala:3: warning: parameterized overloaded implicit methods are not visible as view bounds
  implicit def imp1[T](x: Set[T]): Map[T, T] = Map()
               ^
warning: there were four feature warnings; re-run with -feature for details
error: No warnings can be incurred under -Xfatal-warnings.
three warnings found
one error found