Describe the bug
filterbuilder() 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 filterbuilder() 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