-
-
Notifications
You must be signed in to change notification settings - Fork 587
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
ecs_cpp_trim_module tries to trim the name of the module from a type instead of just the namespace, which leads to the assert invalid C++ type name failing.
To Reproduce
#include <flecs.h>
struct module_a_component { };
class module_a {
public:
module_a(flecs::world &world) {
world.component<module_a_component>();
}
};
int main() {
flecs::world world;
world.import<module_a>();
return 0;
}Expected behavior
This minimal example should work I guess, unless I'm being stupid 😅
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working