diff --git a/compiler/forget/packages/playground/components/Editor/Output.tsx b/compiler/forget/packages/playground/components/Editor/Output.tsx index c8bc2e94b1..42d7b622b6 100644 --- a/compiler/forget/packages/playground/components/Editor/Output.tsx +++ b/compiler/forget/packages/playground/components/Editor/Output.tsx @@ -27,6 +27,8 @@ const { inferReferenceEffects, inferMutableRanges, inferReactiveScopeDependencies, + inferReactiveScopeVariables, + inferReactiveScopes, leaveSSA, lower, printHIR, @@ -49,6 +51,8 @@ type CompilerOutput = { eliminateRedundantPhiOutput: string; inferReferenceEffectsOutput: string; inferMutableRangesOutput: string; + inferReactiveScopeVariablesOutput: string; + inferReactiveScopesOutput: string; inferReactiveScopeDependenciesOutput: string; leaveSSAOutput: string; codegenOutput: string; @@ -83,6 +87,12 @@ function compile(source: string): CompilerOutput | CompilerError { inferMutableRanges(ir); const inferMutableRangesOutput = printHIR(ir.body); + inferReactiveScopeVariables(ir); + const inferReactiveScopeVariablesOutput = printHIR(ir.body); + + inferReactiveScopes(ir); + const inferReactiveScopesOutput = printHIR(ir.body); + inferReactiveScopeDependencies(ir); const inferReactiveScopeDependenciesOutput = printHIR(ir.body); @@ -116,6 +126,8 @@ function compile(source: string): CompilerOutput | CompilerError { inferReferenceEffectsOutput, inferMutableRangesOutput, inferReactiveScopeDependenciesOutput, + inferReactiveScopeVariablesOutput, + inferReactiveScopesOutput, leaveSSAOutput, codegenOutput, sourceMapUrl, @@ -171,6 +183,16 @@ function Output({ store, setTabsOpen, tabsOpen }: Props) { output={compilerOutput.inferMutableRangesOutput} > ), + InferReactiveScopeVariables: ( + + ), + InferReactiveScopes: ( + + ), InferReactiveScopeDependencies: (