[compiler] Fix Pipeline.ts early-exit, formatting, and style issues

Fix the transformFire early-exit in Pipeline.ts to only trigger on new
errors from transformFire itself, not pre-existing errors from earlier
passes. The previous `env.hasErrors()` check was too broad — it would
early-exit on validation errors that existed before transformFire ran.

Also add missing blank line in CodegenReactiveFunction.ts Context class,
and fix formatting in ValidateMemoizedEffectDependencies.ts.
This commit is contained in:
Joe Savona
2026-02-23 16:14:54 -08:00
parent 011cede068
commit 9395a1f324

View File

@@ -442,6 +442,7 @@ class Context {
recordError(error: CompilerErrorDetail): void {
this.env.recordError(error);
}
get nextCacheIndex(): number {
return this.#nextCacheIndex++;
}