diff --git a/compiler/forget/src/HIR/BuildAliasSets.ts b/compiler/forget/src/HIR/BuildAliasSets.ts index 12d20884df..49a9a344b4 100644 --- a/compiler/forget/src/HIR/BuildAliasSets.ts +++ b/compiler/forget/src/HIR/BuildAliasSets.ts @@ -13,6 +13,7 @@ type AbstractPrimitive = { value: number | boolean | string | null | undefined; }; +export type AliasSet = Set; class AbstractState { aliases = new DisjointSet(); #values = new Map(); @@ -135,7 +136,7 @@ class AbstractState { } } -export function buildAliasSets(func: HIRFunction): Array> { +export function buildAliasSets(func: HIRFunction): Array { const state = new AbstractState(); for (const [_, block] of func.body.blocks) { for (const instr of block.instructions) {