There seems to be regression in the 0.8.2 compiler due to scope confusion within get/set properties.
This will no longer compile:
public set value(value: number) {
this._value = value;
}
public get keys(): string[] {
return keys(this._obj);
}
In the first example, the compiler thinks the local "value" parameter is referring to the "this.value" property.
Error 1 Cannot convert '(value: number) => any' to 'number'
Similarly, in the second example, I am calling a global "keys" function that happens to have the same name as the "this.keys" property name.
Error 2 Supplied parameters do not match any signature of call target