dillon1000/react
Commit
Browse files Rename InstructionValue.OtherStatement to UnsupportedNode
As discussed, this repurposes OtherStatement as a catch all variant for unsupported syntax or errors in the source. This also renames the previously added ErrorTerminal to UnsupportedTerminal for consistency (plus makes it a little bit less confusing that it's not an actual terminal representing an Error). Not loving the name but couldn't think of anything better, open to suggestions!
Changed paths10 files
First-parent comparisoncompiler/forget/src/HIR/BuildHIR.ts ModifiedM compiler/forget/src/HIR/HIR.ts ModifiedM compiler/forget/src/HIR/HIRBuilder.ts ModifiedM compiler/forget/src/HIR/PrintHIR.ts ModifiedM compiler/forget/src/HIR/visitors.ts ModifiedM compiler/forget/src/Inference/InferReferenceEffects.ts ModifiedM compiler/forget/src/ReactiveScopes/BuildReactiveFunction.ts ModifiedM compiler/forget/src/ReactiveScopes/CodegenReactiveFunction.ts ModifiedM compiler/forget/src/ReactiveScopes/InferReactiveScopeVariables.ts ModifiedM compiler/forget/src/Utils/VisualizeHIRMermaid.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…