abstract class Base{ public virtual int x { get { throw new NotImplementedException(); } }}
class Child extends Base
{
public var x(default, null):Int; // Doesn't work. Haxe compiler: Redefinition of variable x in subclass is not allowed. Previously declared at Base
public var x(default, never):Int; // Doesn't work. Haxe compiler: Redefinition of variable x in subclass is not allowed. Previously declared at Base
public var x(get, null):Int; // Doesn't work. Haxe compiler: Redefinition of variable x in subclass is not allowed. Previously declared at Base
public function get_x():Int
{
return 0;
}
}
abstract class Base{ public abstract int Foo { get; }}
class Child extends Base{ @:overload override public function get_Foo():Int { return <some Int value>; }}