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 37c2f93 + 4e71570 commit a27bc12Copy full SHA for a27bc12
tests/run/i2456.check
@@ -0,0 +1 @@
1
+buzzzzzzz
tests/run/i2456.scala
@@ -0,0 +1,13 @@
+class Bees {
2
+ def f: PartialFunction[Bee, Unit] = { case Bee(_) => println("buzzzzzzz") }
3
+
4
+ f(new Bee("buzz"))
5
6
+ case class Bee(value: String)
7
+}
8
9
+object Test {
10
+ def main(args: Array[String]): Unit = {
11
+ new Bees
12
+ }
13
0 commit comments