style: align multiline expressions and guards

This commit is contained in:
2026-10-07 23:28:26 +02:00
parent 313947acd8
commit 8352cc1ab0
4 changed files with 42 additions and 26 deletions
+3 -3
View File
@@ -530,9 +530,9 @@ node_span proc(tree @Tree, id NodeId) Span {
invalid proc(tree @Tree, id NodeId) InvalidView {
node :: get_node(&tree.storage, id)
debug.assert(
node.kind == .invalid_expr or
node.kind == .invalid_stmt or
node.kind == .invalid_decl
node.kind == .invalid_expr
or node.kind == .invalid_stmt
or node.kind == .invalid_decl
)
return InvalidView{
span = get_span(&tree.storage, id),