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 0353e64 commit 4e71570Copy full SHA for 4e71570
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