Skip to content

Commit 90f54de

Browse files
committed
Fix bytecode test
1 parent 6dded2c commit 90f54de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class LabelBytecodeTests extends DottyBytecodeTest {
148148
s"""import scala.util.*
149149
|class Test:
150150
| def test: $tpe = {
151-
| ${code.lines().toList().asScala.mkString("", "\n ", "")}
151+
| ${code.lines.toList.asScala.mkString("", "\n ", "")}
152152
| }
153153
| def nonLocalBreak[T](value: T)(using boundary.Label[T]): Nothing = break(value)
154154
| def nonLocalBreak()(using boundary.Label[Unit]): Nothing = break(())

0 commit comments

Comments
 (0)