Skip to content

Commit 920f4a5

Browse files
committed
Merge pull request scala#3641 from adriaanm/fixup-3639
SI-8341 minor fixup for comments in test
2 parents 06655ac + e66f5f7 commit 920f4a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/files/neg/t8431.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ object C {
1717

1818
implicit def cbf[A]: CanBuildFrom[Invariant[A]] = ???
1919
}
20-
20+
// always failed
2121
class Test1 {
2222
import C.{cbf, convert1, convert2}
2323
val s: Invariant[Nothing] = ???
2424
s.combined // fail
2525
}
26-
26+
// didn't fail, now correctly fails
2727
class Test2 {
2828
import C.{cbf, convert2, convert1}
2929

@@ -44,7 +44,7 @@ class TestExplicit {
4444
// Now the implicit Test fail uniformly as per this explicit conversion
4545
convert2(s).combined
4646

47-
// Breaking this expression down makes it work.
47+
// Breaking this expression down doesn't make it work.
4848
{val c1 = convert2(s); c1.combined}
4949
}
5050

0 commit comments

Comments
 (0)