Make Formatter Happy
Continuous Integration / Grammar Tests (push) Successful in 36s
Continuous Integration / Library Format Tests (push) Successful in 1m19s
Continuous Integration / Library Tests (push) Successful in 3m51s

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-06-12 06:34:57 -04:00
parent fe88e447a9
commit e17533dfc8
6 changed files with 37 additions and 24 deletions
+7 -4
View File
@@ -93,7 +93,8 @@ extension AST.FunctionDeclaration: Compilable {
sourceLocation: function_declaration_node.toSourceLocation(),
withError: "Missing function declaration component")))
let maybe_function_name = AST.Identifier.CompileExpression(node: current_node!, withContext: context)
let maybe_function_name = AST.Identifier.CompileExpression(
node: current_node!, withContext: context)
guard case .Ok(let function_name) = maybe_function_name else {
return .Error(maybe_function_name.error()!)
}
@@ -476,9 +477,11 @@ extension AST.Control: Compilable {
))
}
return .Ok(AST.Control(
named: control_name as! AST.Identifier, withParameters: control_parameters, withTable: tables[0],
withActions: AST.Actions(withActions: actions), withApply: apply))
return .Ok(
AST.Control(
named: control_name as! AST.Identifier, withParameters: control_parameters,
withTable: tables[0],
withActions: AST.Actions(withActions: actions), withApply: apply))
}
}