Skip to content

Commit 18e877c

Browse files
committed
Update more test outputs
1 parent b9fcd2a commit 18e877c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class LabelBytecodeTests extends DottyBytecodeTest {
2121
"""val local = boundary.Label[Long]()
2222
|try break(5L)(using local)
2323
|catch case ex: boundary.Break[Long] @unchecked =>
24-
| if ex.label eq local then ex.value
24+
| if ex.isSameLabelAs(local) then ex.value
2525
| else throw ex
2626
""".stripMargin,
2727
"Long",

tests/neg-macros/i19842-b.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
|Parents in symbol: [class Object, trait Serializer]
88
|Parents in tree: [class Object, trait Serializer, trait Foo]
99
|
10-
| at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
10+
| at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:10)
1111
| at dotty.tools.dotc.transform.TreeChecker$.checkParents(TreeChecker.scala:210)
1212
| at scala.quoted.runtime.impl.QuotesImpl$reflect$ClassDef$.module(QuotesImpl.scala:286)
1313
| at scala.quoted.runtime.impl.QuotesImpl$reflect$ClassDef$.module(QuotesImpl.scala:285)

0 commit comments

Comments
 (0)