You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
filter_builder() assert fail, when use
.term().or_()
.term()
This issue is problematic in flecs 3.2.10 or later. The old version works fine.
To Reproduce
Steps to reproduce the behavior:
flecs 3.2.10 or more new
`
#include <flecs.h>
struct TagA {
};
struct StructB {
int i = 0;
};
int main(int argc, char *argv[]) {
flecs::world w;
w.component<TagA>();
w.component<StructB>();
auto filter = w.filter_builder<>()
.term<TagA>().or_()
.term<StructB>()
.build();
filter.each([](flecs::iter &iter, size_t index) {});
w.app().run();
return 0;
}
Describe the bug
filter_builder() assert fail, when use
.term().or_()
.term()
This issue is problematic in flecs 3.2.10 or later. The old version works fine.
To Reproduce
Steps to reproduce the behavior:
flecs 3.2.10 or more new
`
`
Expected behavior
fatal: filter.c: 1391: assert: filter_terms <= term_count INTERNAL_ERROR
The text was updated successfully, but these errors were encountered: