dillon1000/react
Commit
Browse files [codegen] location refinements
- Add a `loc` to the `while` terminal node. - Move location data for assignments 1 level higher as that seems to work better in the generated code (not tested with actual debugger yet though, we'll probably want to look at this more closely.
Changed paths5 files
First-parent comparisoncompiler/forget/src/HIR/BuildHIR.ts ModifiedM compiler/forget/src/HIR/Codegen.ts ModifiedM compiler/forget/src/HIR/HIR.ts ModifiedM compiler/forget/src/HIR/HIRTreeVisitor.ts ModifiedM compiler/forget/src/HIR/visitors.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…