Skip to content

Commit 449eeaa

Browse files
committed
Remove explicit switch annotation in test
1 parent 02b0cb4 commit 449eeaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/backend/jvm/DottyBytecodeTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class TestBCode extends DottyBytecodeTest {
123123
"""
124124
|object Foo {
125125
| import scala.annotation.switch
126-
| def foo(s: String) = (s: @switch) match {
126+
| def foo(s: String) = s match {
127127
| case "AaAa" => println(3)
128128
| case "BBBB" | "c" => println(2)
129129
| case "D" | "E" => println(1)

0 commit comments

Comments
 (0)