diff --git a/compiler/forget/src/HIR/HIR.ts b/compiler/forget/src/HIR/HIR.ts index 334f2dfa69..633147ca38 100644 --- a/compiler/forget/src/HIR/HIR.ts +++ b/compiler/forget/src/HIR/HIR.ts @@ -63,7 +63,7 @@ export type ReactiveValueBlock = { kind: "value-block"; instructions: ReactiveBlock; last: { - value: InstructionValue; + value: Place; id: InstructionId; } | null; }; diff --git a/compiler/forget/src/ReactiveScopes/BuildReactiveFunction.ts b/compiler/forget/src/ReactiveScopes/BuildReactiveFunction.ts index 77bb7ebab6..ccb0ef487c 100644 --- a/compiler/forget/src/ReactiveScopes/BuildReactiveFunction.ts +++ b/compiler/forget/src/ReactiveScopes/BuildReactiveFunction.ts @@ -418,7 +418,7 @@ class Driver { visitValueBlock( parent: ReactiveBlock, block: BasicBlock, - terminalValue?: { value: InstructionValue; id: InstructionId } + terminalValue?: { value: Place; id: InstructionId } ): ReactiveValueBlock { const valueBlock: ReactiveValueBlock = { kind: "value-block",