mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 16:35:03 +01:00
Improve type inference
Fixes the union-find inference by properly unioning the roots and also resolves all variables after typeck.
This commit is contained in:
parent
000f17b97e
commit
02412c2a09
2 changed files with 24 additions and 12 deletions
|
|
@ -7,7 +7,7 @@ import { typeck } from "./typeck";
|
|||
|
||||
const input = `
|
||||
function main() = (
|
||||
let true = false in print(true)
|
||||
let a = 0 in 0;
|
||||
);
|
||||
`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue