feat(selfhost-sema): check call argument types against param types
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user