dillon1000/react

Commit

[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; 

} 

// ... 

```
Browse files
Changed paths3 files
First-parent comparison
M compiler/forget/src/HIR/Environment.ts ModifiedM compiler/forget/src/HIR/ObjectShape.ts ModifiedM compiler/forget/src/TypeInference/InferTypes.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…