blob: ca0870705d493cc3f1023e52084322fed4a9d9f6 (
plain) (
tree)
|
|
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
|