Commit ffee9ee 1 parent 84722e3 commit ffee9ee Copy full SHA for ffee9ee
File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -173,16 +173,14 @@ case class If(cond: Expr) {
173
173
def Then (body : (NonCallStatement | EventuallyStatement | EventuallyJump )* ): ThenV = ThenV (cond, List (stmts(body : _* )))
174
174
}
175
175
176
- case class ThenV (cond : Expr , body : List [EventuallyBlock ]) {
176
+ private case class ThenV (cond : Expr , body : List [EventuallyBlock ]) {
177
177
def Else (els : Iterable [EventuallyBlock ]): List [EventuallyBlock ] = mkIf(cond, body, els.toList)
178
178
def Else (els : EventuallyBlock * ): List [EventuallyBlock ] = mkIf(cond, body, els.toList)
179
179
@ targetName(" elseStatements" )
180
180
def Else (els : (NonCallStatement | EventuallyStatement | EventuallyJump )* ): List [EventuallyBlock ] =
181
181
mkIf(cond, body, List (stmts(els : _* )))
182
182
}
183
183
184
- case class ElseV (cond : Expr , thenBody : List [EventuallyBlock ], body : List [EventuallyBlock ])
185
-
186
184
/**
187
185
* Implicit conversions so that we are more flexible with what can be passed to these constructs,
188
186
* e.g. to automatically construct a block list for a single statement.
You can’t perform that action at this time.
0 commit comments