mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 16:35:03 +01:00
typeck cleanup
This commit is contained in:
parent
73a369730b
commit
ba3a199249
9 changed files with 345 additions and 319 deletions
|
|
@ -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) =;
|
||||
`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue