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.
1 parent f702b05 commit a987fd6Copy full SHA for a987fd6
tests/neg-custom-args/isInstanceOf/i8932.scala
@@ -6,6 +6,7 @@ class Dummy extends Bar[Nothing] with Foo[String]
6
def bugReport[A](foo: Foo[A]): Foo[A] =
7
foo match {
8
case bar: Bar[A] => bar // error
9
+ case dummy: Dummy => ???
10
}
11
12
def test = bugReport(new Dummy: Foo[String])
0 commit comments