move ty defs

This commit is contained in:
nora 2023-12-16 12:39:37 +01:00
parent a22cc15b59
commit d18ab34e9f
14 changed files with 173 additions and 192 deletions

View file

@ -10,22 +10,17 @@ import {
ItemId,
LoopId,
Resolution,
Ty,
TyFn,
TyStruct,
TyTuple,
Typecked,
mkDefaultFolder,
superFoldExpr,
superFoldItem,
varUnreachable,
TyRawPtr,
paramUnreachable as codegenUnreachableTy,
structFieldsSubstituted,
} from "./ast";
import { GlobalContext } from "./context";
import { unreachable } from "./error";
import { printTy } from "./printer";
import { Ty, TyFn, TyRawPtr, TyStruct, TyTuple, structFieldsSubstituted } from "./types";
import { ComplexMap, encodeUtf8, unwrap } from "./utils";
import * as wasm from "./wasm/defs";