You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For @:enum abstract types very common to provide default values with one of fields, such as function foo(a:PlayerMode = PlayerMode.DEFAULT). But now annotator can't resolve that @:enum abstract fields is already constants.
Repro:
@:enum abstract AbstractEnum(Int) from Int to Int {
var ONE = 0;
var TWO = 1;
}
class AbstractEnumParameterDefaultValue {
public function foo1(type = AbstractEnum.ONE) {}
public function foo2(type:AbstractEnum = AbstractEnum.ONE) {}
public function foo3(type:Int = AbstractEnum.ONE) {}
public function foo4(type:Dynamic = AbstractEnum.ONE) {}
}
Version: 0.9.9, IDEA 14/15, OSX
The text was updated successfully, but these errors were encountered:
For
@:enum abstract
types very common to provide default values with one of fields, such asfunction foo(a:PlayerMode = PlayerMode.DEFAULT)
. But now annotator can't resolve that@:enum abstract
fields is already constants.Repro:
Version: 0.9.9, IDEA 14/15, OSX
The text was updated successfully, but these errors were encountered: