refactorings

This commit is contained in:
nora 2023-08-02 19:18:52 +02:00
parent 7eeaf548d0
commit 2f1f4a9798
12 changed files with 85 additions and 100 deletions

View file

@ -1,7 +1,9 @@
import { TY_INT, TY_STRING, TY_UNIT } from "./ast";
import { DUMMY_SPAN as SPAN } from "./error";
import { Span } from "./error";
import { InferContext } from "./typeck";
const SPAN: Span = Span.startOfFile({content: ""});
it("should infer types across assignments", () => {
const infcx = new InferContext();