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 02b0cb4 commit 449eeaaCopy full SHA for 449eeaa
compiler/test/dotty/tools/backend/jvm/DottyBytecodeTests.scala
@@ -123,7 +123,7 @@ class TestBCode extends DottyBytecodeTest {
123
"""
124
|object Foo {
125
| import scala.annotation.switch
126
- | def foo(s: String) = (s: @switch) match {
+ | def foo(s: String) = s match {
127
| case "AaAa" => println(3)
128
| case "BBBB" | "c" => println(2)
129
| case "D" | "E" => println(1)
0 commit comments