dillon1000/react

Commit

Lookup hook declarations on environment

Changes from calling the global parseHookCall() function to looking up the hook 
declaration on the environment.
Browse files
Changed paths8 files
First-parent comparison
M compiler/forget/src/HIR/Environment.ts ModifiedM compiler/forget/src/HIR/HIR.ts ModifiedM compiler/forget/src/HIR/Hooks.ts ModifiedM compiler/forget/src/Inference/InferReferenceEffects.ts ModifiedM compiler/forget/src/ReactiveScopes/BuildReactiveFunction.ts ModifiedM compiler/forget/src/ReactiveScopes/FlattenScopesWithHooks.ts ModifiedM compiler/forget/src/ReactiveScopes/InferReactiveIdentifiers.ts ModifiedM compiler/forget/src/TypeInference/InferTypes.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…