Repository navigation
Commit f43c63f
perf(compiler-cli): optimize missing directive extended checks
Extended diagnostics for `missingStructuralDirective` and
`missingControlFlowDirective` previously queried `getSymbolOfNode()` to
determine whether any directives matched a template node.
This caused the template type checker to lazily generate and traverse the
full Type Check Block (TCB) AST and symbol graph for every template node
checked, introducing noticeable build time overhead in large applications
with many components and structural directives.
(cherry picked from commit b9f7c1f)1 parent 54d134b commit f43c63f
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments