This project is read-only.


0.9.x branches are really weird


The code below compiles fine in though _value is undefined in toString method.
class MyEnum {
    private _value = 0;
    private _names: any =
        "0": "None",
        "1": "Open",
        "2": "Closed"

    public toString() {
        return this._names[_value];  //should be this.value  !!!!!!
If i switch to develop or branches the code fails to compile as expected, but the IDE is unusable.
The language service seems broken. No errors are shown in the IDE, and navigation bar is frozen.
Closed Aug 22, 2013 at 11:42 PM by danquirk
This appears to be fixed in the latest bits