Commit 3a60f85
refactor: update visit method to spawn context for every node type
- Change visit method to use context.spawn(nodeType) when calling node methods
- Ensures all methods receive properly contextualized calls with nodeType in parentNodeTypes
- Makes context spawning more consistent throughout the entire deparser
- All 279 test suites continue to pass with this more thorough approach
Co-Authored-By: Dan Lynch <[email protected]>1 parent c94e430 commit 3a60f85
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| |||
0 commit comments