typeck cleanup

This commit is contained in:
nora 2023-08-03 14:40:25 +02:00
parent 73a369730b
commit ba3a199249
9 changed files with 345 additions and 319 deletions

View file

@ -264,7 +264,7 @@ export function printTy(ty: Ty): string {
return `?${ty.index}`;
}
case "struct": {
return ty.name;
return ty._name;
}
case "never": {
return "!";