The following code compiles with an error: "Unsupported serializable type Test.T", even though the type T is constrained as Serializable
Compiled with haxe -m Main -lib hxbit --interp
// file "Main.hx"
package;
class Test<T: hxbit.Serializable> implements hxbit.Serializable {
@:s public var test: T;
}
class Main {
static public function main () {}
}
The following code compiles with an error: "Unsupported serializable type Test.T", even though the type T is constrained as Serializable Compiled with
haxe -m Main -lib hxbit --interp
Is what I'm trying to achieve possible?