You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vala:Int=4
a match {
case1=> println("1")
case1|2=> println("1 or 2")
}
crashes with
duplicate keys in SWITCH, can't pick arbitrarily one of them to evict, see SI-6011.
java.lang.RuntimeException: duplicate keys in SWITCH, can't pick arbitrarily oneof them to evict, see SI-6011.
at dotty.tools.backend.jvm.DottyBackendInterface.abort(DottyBackendInterface.scala:390)
at scala.tools.nsc.backend.jvm.BCodeIdiomatic$JCodeMethodN.emitSWITCH(BCodeIdiomatic.scala:477)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genMatch(BCodeBodyBuilder.scala:909)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:431)
The text was updated successfully, but these errors were encountered:
crashes with
The text was updated successfully, but these errors were encountered: