reference counting

This commit is contained in:
nora 2023-08-02 23:19:10 +02:00
parent d9ab81bed1
commit 9ece18a48a
18 changed files with 477 additions and 159 deletions

View file

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