We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06655ac + e66f5f7 commit 920f4a5Copy full SHA for 920f4a5
test/files/neg/t8431.scala
@@ -17,13 +17,13 @@ object C {
17
18
implicit def cbf[A]: CanBuildFrom[Invariant[A]] = ???
19
}
20
-
+// always failed
21
class Test1 {
22
import C.{cbf, convert1, convert2}
23
val s: Invariant[Nothing] = ???
24
s.combined // fail
25
26
+// didn't fail, now correctly fails
27
class Test2 {
28
import C.{cbf, convert2, convert1}
29
@@ -44,7 +44,7 @@ class TestExplicit {
44
// Now the implicit Test fail uniformly as per this explicit conversion
45
convert2(s).combined
46
47
- // Breaking this expression down makes it work.
+ // Breaking this expression down doesn't make it work.
48
{val c1 = convert2(s); c1.combined}
49
50
0 commit comments