rogp/jspp — Issue #6: #typesys strict doesn't handle re-declarations or prototypes
Author: rogp
Created: 2011-10-08 00:42:42+00:00
State: open

Re-declarations need to be properly handled:

```javascript
#typesys strict

var a as String;

var a as Number;
```

Look up the prototype chain to determine type of a method or property:

```javascript
#typesys strict

Array.prototype.foo = function as String() {
return "foo";
};

var bar as String = [].foo();
```