Make Formatter Happy

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-03-02 08:26:37 -05:00
parent 6dba17c97a
commit 59d56e7b73
6 changed files with 21 additions and 11 deletions
+5 -2
View File
@@ -52,7 +52,8 @@ extension ParserAssignmentStatement: CompilableStatement {
ErrorOnNode(node: node, withError: "Missing rvalue in assignment statement"))
}
let maybe_parsed_rvalue = Expression.Compile(node: rvalue_node, inTree: tree, withScopes: scopes)
let maybe_parsed_rvalue = Expression.Compile(
node: rvalue_node, inTree: tree, withScopes: scopes)
guard case Result.Ok(let rvalue) = maybe_parsed_rvalue else {
return Result.Error(maybe_parsed_rvalue.error()!)
}
@@ -289,7 +290,9 @@ public struct Parser {
}
}
return switch TransitionSelectExpression.Compile(node: node, inTree: tree, withScope: scopes) {
return
switch TransitionSelectExpression.Compile(node: node, inTree: tree, withScope: scopes)
{
case .Ok((let tse, _)):
.Ok((ParserTransitionStatement(withTransitionExpression: tse), scopes))
case .Error(let e): .Error(e)