Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Inference not working when null is the initial value. #5

Closed
vsmenon opened this issue Dec 15, 2014 · 1 comment
Closed

Inference not working when null is the initial value. #5

vsmenon opened this issue Dec 15, 2014 · 1 comment

Comments

@vsmenon
Copy link
Contributor

vsmenon commented Dec 15, 2014

We're not properly handling this case:
var a = null;
a = new A();

We're inferring the type of a as bottom / null. Probably should treat as dynamic.

@sigmundch
Copy link
Contributor

fixed in 0ecf5c0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants