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 {
21
21
""" val local = boundary.Label[Long]()
22
22
|try break(5L)(using local)
23
23
|catch case ex: boundary.Break[Long] @unchecked =>
24
- | if ex.label eq local then ex.value
24
+ | if ex.isSameLabelAs( local) then ex.value
25
25
| else throw ex
26
26
""" .stripMargin,
27
27
" Long" ,
Original file line number Diff line number Diff line change 7
7
|Parents in symbol: [class Object, trait Serializer]
8
8
|Parents in tree: [class Object, trait Serializer, trait Foo]
9
9
|
10
- | at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8 )
10
+ | at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:10 )
11
11
| at dotty.tools.dotc.transform.TreeChecker$.checkParents(TreeChecker.scala:210)
12
12
| at scala.quoted.runtime.impl.QuotesImpl$reflect$ClassDef$.module(QuotesImpl.scala:286)
13
13
| at scala.quoted.runtime.impl.QuotesImpl$reflect$ClassDef$.module(QuotesImpl.scala:285)
You can’t perform that action at this time.
0 commit comments