From e66f5f7b02e9f0ab05953cbea5bacdaf53e5ea3a Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Tue, 18 Mar 2014 15:52:22 -0700 Subject: SI-8341 minor fixup for comments in test --- test/files/neg/t8431.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/files/neg/t8431.scala') 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} } -- cgit v1.2.3