dillon1000/react
Commit
Browse files Remove unnecessary `optional` property on loads
Now that _all_ optional expression types use the new representation, the optionality of all PropertyLoad and ComputedLoad is modeled via control flow (in HIR) and the structure of OptionalExpression (in ReactiveFunction). Thus we no longer need the `optional` properties on these load instructions — they're optional if they're part of an OptionalExpression.
Changed paths6 files
First-parent comparisoncompiler/forget/src/HIR/BuildHIR.ts ModifiedM compiler/forget/src/HIR/HIR.ts ModifiedM compiler/forget/src/HIR/PrintHIR.ts ModifiedM compiler/forget/src/Optimization/ConstantPropagation.ts ModifiedM compiler/forget/src/ReactiveScopes/CodegenReactiveFunction.ts ModifiedM compiler/forget/src/ReactiveScopes/PropagateScopeDependencies.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…