diff --git a/compiler/forget/packages/playground/components/Editor/Output.tsx b/compiler/forget/packages/playground/components/Editor/Output.tsx
index 3214ab5edf..07ddfe04cf 100644
--- a/compiler/forget/packages/playground/components/Editor/Output.tsx
+++ b/compiler/forget/packages/playground/components/Editor/Output.tsx
@@ -20,6 +20,7 @@ const {
enterSSA,
Environment,
flattenReactiveLoops,
+ inferTypes,
inferMutableRanges,
inferReactiveScopes,
inferReactiveScopeVariables,
@@ -47,6 +48,7 @@ type CompilerOutput = {
ssaOutput: string;
hirOutput: string;
eliminateRedundantPhiOutput: string;
+ inferTypesOutput: string;
inferReferenceEffectsOutput: string;
inferMutableRangesOutput: string;
inferReactiveScopeVariablesOutput: string;
@@ -79,6 +81,9 @@ function compile(source: string): CompilerOutput | CompilerError {
eliminateRedundantPhi(ir);
const eliminateRedundantPhiOutput = printHIR(ir.body);
+ inferTypes(ir);
+ const inferTypesOutput = printHIR(ir.body);
+
inferReferenceEffects(ir);
const inferReferenceEffectsOutput = printHIR(ir.body);
@@ -124,6 +129,7 @@ function compile(source: string): CompilerOutput | CompilerError {
hirOutput,
ssaOutput,
eliminateRedundantPhiOutput,
+ inferTypesOutput,
inferReferenceEffectsOutput,
inferMutableRangesOutput,
inferReactiveScopeVariablesOutput,
@@ -165,6 +171,11 @@ function Output({ store, setTabsOpen, tabsOpen }: Props) {
output={compilerOutput.eliminateRedundantPhiOutput}
>
),
+ InferTypes: (
+
+ ),
InferReferenceEffects: (