Closed fourst4r closed 1 year ago
Classes with the same name but different packages will clash and only one of the classes will be compiled.
For example:
// foo/Baz.hx package foo; class Baz { public function new() {} }
// bar/Baz.hx package bar; class Baz { public function new() {} }
// Main.hx package; function main() { new foo.Baz(); new bar.Baz(); }
This will generate a foo_Baz.cpp but there is no bar_Baz.cpp generated.
foo_Baz.cpp
bar_Baz.cpp
Yiiiikes, wtf. Okay, I'll try and check this out asap. Sorry for delay as always 😰
Should be fixed with Reflaxe update! https://github.com/SomeRanDev/reflaxe/commit/5faaa5f3c747323b6eb6d9c086cbb251dea50cd9
Classes with the same name but different packages will clash and only one of the classes will be compiled.
For example:
This will generate a
foo_Baz.cpp
but there is nobar_Baz.cpp
generated.