Generic with extern type? [hxcpp]

Hey :wink:
Is it possible to use generics with extern types?
Don鈥檛 know why, but it replace T with Dynamic type.
Is it a bug or I鈥檓 doing something wrong?

@:native('NativeObject.h')
extern class NativeObject 
{
    //...
    public function setValue(value:Int):Void;
}

class HaxeObject<T:NativeObject>
{
    private var ref:Pointer<T>; //generated as Pointer<Dynamic>. But I want to get Pointer<NativeObject>
    public function new()
    {
        //...
    }
    
    public function setValue(value:Int):Void
    {
        ref.setValue(value);
    }
}

Looks like it is a problem not only with extern classes.
I鈥檝e created issue about this: Base generic class goes to be Dynamic 路 Issue #670 路 HaxeFoundation/hxcpp 路 GitHub