jazzay / flecs-rs

Rust bindings for the Flecs ECS library
MIT License
69 stars 9 forks source link

Fix nested template components #8

Closed tkchanat closed 2 years ago

tkchanat commented 2 years ago

This fixes an assertion error where the bracket of the nested template class was stripped during register_component_typed. For example, I have a namespaced struct some::namespace::Struct<another::namespace::Inner>, it should pass the symbol Struct<Inner> to flecs. Whereas before, it passes Inner> which then caused the program to halt.