File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/test/dotty/tools/backend/jvm Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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" ,
Original file line number Diff line number Diff line change 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)
You can’t perform that action at this time.
0 commit comments