feat(selfhost-sema): check call argument types against param types

This commit is contained in:
2026-07-28 21:36:47 +03:00
parent ea5ba70528
commit 497e01d537
3 changed files with 90 additions and 26 deletions
+9
View File
@@ -0,0 +1,9 @@
extern func PrintInt(n: int);
extern func PrintLine(s: String);
func Main() -> int {
PrintInt("hello");
PrintLine(42);
PrintInt(true);
return 0;
}