dillon1000/react
Commit
Browse files [typer] Track return type in FunctionType
Rather than having a special FunctionCall type that deduces the return type, change the FunctionType to include the return type. This return type is inferred as part of unification.
Changed paths3 files
First-parent comparisoncompiler/forget/src/HIR/ObjectShape.ts ModifiedM compiler/forget/src/HIR/Types.ts ModifiedM compiler/forget/src/TypeInference/InferTypes.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…