dillon1000/react
Commit
Browse files [be] Clean up null -> PolyType in ObjectShape
---
Question - should the unifier ignore `PolyType` for now?
```js
class Unifier {
// ...
bindVariableTo(v: TypeVar, type: Type) {
if (type.kind === "Poly") {
return;
}
// ...
```Changed paths3 files
First-parent comparisoncompiler/forget/src/HIR/Environment.ts ModifiedM compiler/forget/src/HIR/ObjectShape.ts ModifiedM compiler/forget/src/TypeInference/InferTypes.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…