aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/overloaded-implicit.check
blob: ca0870705d493cc3f1023e52084322fed4a9d9f6 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                              
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()
               ^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found