We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a922d73 commit 7880bbaCopy full SHA for 7880bba
1 file changed
lib/utils/control-flow.js
@@ -185,6 +185,14 @@ function createConditionalScope() {
185
conditionalStack.at(-1).add(key);
186
}
187
} else {
188
+ // Top-level conditional ended — its accumulated keys are now
189
+ // unconditionally "seen" at this scope. Push as a separate frame
190
+ // (rather than merging into seenStack[0]) to mirror upstream
191
+ // ember-template-lint's ConditionalScope (PR #1606) and keep
192
+ // per-conditional grouping for future debugging hooks. Functionally
193
+ // equivalent to a single merged Set for `has()` purposes; growth is
194
+ // O(top-level conditionals per template), which is bounded by source
195
+ // size.
196
seenStack.push(keys);
197
198
},
0 commit comments