feat(selfhost-sema): arithmetic errors return tyUnknown sentinel

This commit is contained in:
2026-07-28 20:33:21 +03:00
parent 44ecbd6873
commit 76ea9cc083
3 changed files with 13 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
func Main() -> int {
let bad: int = "a" + 1;
let z: int = undefined_variable;
return 0;
}