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

@ -15,12 +15,9 @@ import { loadCrate } from "./loader";
const INPUT = `
type A = struct { a: Int };
type What = What;
type Uwu = (Int, Int);
function main() = (
let a: What = 0;
uwu();
);
@ -41,6 +38,10 @@ function test(b: B) = (
b.a;
);
mod aa (
global UWU: Int = 0;
);
function eat(a: A) =;
`;