aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t8280.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/t8280.scala')
-rw-r--r--tests/run/t8280.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run/t8280.scala b/tests/run/t8280.scala
index f433dcc32..1d2c56b85 100644
--- a/tests/run/t8280.scala
+++ b/tests/run/t8280.scala
@@ -37,7 +37,8 @@ object Moop1 {
implicit object f1 extends (Int => String) { def apply(x: Int): String = "Int" }
implicit val f2: Long => String = _ => "Long"
- println(5: String)
+ //println(5: String)
+ // This picked f1 before, but is now disallowed since subtypes of functions are no longer implicit conversions
}
}