diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-18 15:52:22 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-18 15:52:22 -0700 |
commit | e66f5f7b02e9f0ab05953cbea5bacdaf53e5ea3a (patch) | |
tree | fc78a50a59aa7537e979efc602e00e9092d7c3ae /test/files/neg | |
parent | 06655acb8a15db57bf659b622d2a18ca3d834bc5 (diff) | |
download | scala-e66f5f7b02e9f0ab05953cbea5bacdaf53e5ea3a.tar.gz scala-e66f5f7b02e9f0ab05953cbea5bacdaf53e5ea3a.tar.bz2 scala-e66f5f7b02e9f0ab05953cbea5bacdaf53e5ea3a.zip |
SI-8341 minor fixup for comments in test
Diffstat (limited to 'test/files/neg')
-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} } |