-
-
Notifications
You must be signed in to change notification settings - Fork 755
Open
Labels
A-transformerArea - Transformer / TranspilerArea - Transformer / Transpiler
Milestone
Description
#9310 implemented explicit resource management (using declarations) transform.
A few tasks for us as follow-ups:
- Document
enter_programvisitor. Which statements are moved into new block, and which aren't? Why? - Improve perf, by avoiding re-visiting statements (feat(transformer): transform explicit resource management #9310 (comment)).
- Add an option to enable/disable the transform. Currently it's always enabled.
- Fix scope of
usingdeclarations (Bindings declared withusingshould be block scoped and const #9666). - Fix semantic errors in transform after that change.
- Add test cases for scope re-parenting (feat(transformer): transform explicit resource management #9310 (comment)).
- Remove reliance on
SemanticBuilder::with_scope_tree_child_ids(hopefully). Then remove from example. - Investigate span mismatch in transform conformance tests for this transform. @overlookmotel
cc @camc314.
Metadata
Metadata
Assignees
Labels
A-transformerArea - Transformer / TranspilerArea - Transformer / Transpiler