This project is read-only.

Change (bug) in 0.9.1 type inference?

Topics: General
Aug 7, 2013 at 5:35 AM
Below compiled fine until the new 0.9.1

var links = this.Top.lastElementChild.getElementsByTagName("a");
if (links.length > 0)
    var el = links[links.length-1]; 
The new 0.9.1 compiler infers "var el" to "Node" and not "HTMLAnchorElement"

This should be a bug right?
Aug 7, 2013 at 9:44 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.