fix asserts

This commit is contained in:
lizzie 2026-03-30 02:52:11 +00:00
parent c4bc5b8ca3
commit b4516101ad
121 changed files with 1329 additions and 1324 deletions

View file

@ -65,7 +65,7 @@ bool AnyLocationDescriptorForTerminalHas(IR::Terminal terminal, Fn fn) {
} else if constexpr (std::is_same_v<T, IR::Term::CheckHalt>) {
return AnyLocationDescriptorForTerminalHas(t.else_, fn);
} else {
ASSERT(false && "Invalid terminal type");
assert(false && "Invalid terminal type");
return false;
}
}, terminal);