This commit is contained in:
nora 2023-07-29 21:32:35 +02:00
parent 761f78de0b
commit 09ae6cbb56
5 changed files with 6 additions and 7 deletions

View file

@ -58,7 +58,7 @@ export type ExprLet = {
type?: Type; type?: Type;
rhs: Expr; rhs: Expr;
// IMPORTANT: This is (sadly) shared with ExprBlock. // IMPORTANT: This is (sadly) shared with ExprBlock.
local?: LocalInfo, local?: LocalInfo;
}; };
export type ExprBlock = { export type ExprBlock = {

View file

@ -44,7 +44,6 @@ function main() {
const typecked = typeck(resolved); const typecked = typeck(resolved);
console.dir(typecked, { depth: 8 }); console.dir(typecked, { depth: 8 });
console.log("-----wasm--------------"); console.log("-----wasm--------------");
const wasmModule = lowerToWasm(typecked); const wasmModule = lowerToWasm(typecked);
const moduleStringColor = writeModuleWatToString(wasmModule, true); const moduleStringColor = writeModuleWatToString(wasmModule, true);