Skip to content

Commit df682f8

Browse files
committed
Fix to not add to changedPasses in case of HIR
1 parent 0bd04cf commit df682f8

File tree

1 file changed

+1
-1
lines changed
  • compiler/apps/playground/components/Editor

1 file changed

+1
-1
lines changed

compiler/apps/playground/components/Editor/Output.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function Output({ store, compilerOutput }: Props) {
195195
if (result.kind === "hir" || result.kind === "reactive") {
196196
currResult += `function ${result.fnName}\n\n${result.value}`;
197197
}
198-
if (currResult !== lastResult) {
198+
if (passName !== "HIR" && currResult !== lastResult) {
199199
changedPasses.add(passName);
200200
}
201201
lastResult = currResult;

0 commit comments

Comments
 (0)