diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/t8431.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/t8431.scala b/test/files/neg/t8431.scala index 29b852d0c0..032a1f394d 100644 --- a/test/files/neg/t8431.scala +++ b/test/files/neg/t8431.scala @@ -17,13 +17,13 @@ object C { implicit def cbf[A]: CanBuildFrom[Invariant[A]] = ??? } - +// always failed class Test1 { import C.{cbf, convert1, convert2} val s: Invariant[Nothing] = ??? s.combined // fail } - +// didn't fail, now correctly fails class Test2 { import C.{cbf, convert2, convert1} @@ -44,7 +44,7 @@ class TestExplicit { // Now the implicit Test fail uniformly as per this explicit conversion convert2(s).combined - // Breaking this expression down makes it work. + // Breaking this expression down doesn't make it work. {val c1 = convert2(s); c1.combined} } |