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 8e323b1 + 97ee392 commit c9b4436Copy full SHA for c9b4436
tests/neg/i5101.check
@@ -0,0 +1,2 @@
1
+[137..139..142] in i5101.scala
2
+Not found: A0
tests/neg/i5101.scala
@@ -0,0 +1,14 @@
+object Bar {
+ trait A
3
+ case class A0(foo: Int) extends A
4
+}
5
+
6
+object Foo {
7
+ import Bar.A
8
9
+ def buzz(a: A) = {
10
+ a match {
11
+ case A0(_) => // error
12
+ }
13
14
0 commit comments