File tree 2 files changed +3
-2
lines changed
compiler/src/dotty/tools/dotc/ast
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -520,6 +520,7 @@ object Trees {
520
520
/** selector match { cases } */
521
521
case class Match [- T >: Untyped ] private [ast] (selector : Tree [T ], cases : List [CaseDef [T ]])
522
522
extends TermTree [T ] {
523
+ assert(cases.nonEmpty)
523
524
type ThisTree [- T >: Untyped ] = Match [T ]
524
525
def isInline = false
525
526
}
Original file line number Diff line number Diff line change 1
- /** Decompiled from out/runTestFromTasty/run/literals/Test.tasty */
1
+ /** Decompiled from out/runTestFromTasty/run/literals/Test.class */
2
2
object Test {
3
3
def αρετη: java.lang.String = "alpha rho epsilon tau eta"
4
4
case class GGG(i: scala.Int) {
@@ -95,4 +95,4 @@ object Test {
95
95
val ggg: scala.Int = Test.GGG.apply(1).αα(Test.GGG.apply(2))
96
96
Test.check_success[scala.Int]("ggg == 3", ggg, 3)
97
97
}
98
- }
98
+ }
You can’t perform that action at this time.
0 commit comments