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
I encountered this with the flecs library. Here is the translate C result i was compiling with https://pastebin.com/j60WwuDC
Here is a simple program that will get the error
Odly this doesn't occur unless I use a type that references iter_t, but using iter_t directly compiles fine.
Expected Behavior
This should compile. It compiles fine with stage1, and if you look at the references the circular ref is only due to pointer types, which should be fine to have as a circular reference. Likewise the reference is only through a function pointer, which should also be fine to have as a circular reference.
Zig Version
0.10.0-dev.4166+cae76d829
Steps to Reproduce
I encountered this with the flecs library. Here is the translate C result i was compiling with https://pastebin.com/j60WwuDC
Here is a simple program that will get the error
Odly this doesn't occur unless I use a type that references iter_t, but using iter_t directly compiles fine.
Expected Behavior
This should compile. It compiles fine with stage1, and if you look at the references the circular ref is only due to pointer types, which should be fine to have as a circular reference. Likewise the reference is only through a function pointer, which should also be fine to have as a circular reference.
Actual Behavior
The program compiles with the following error:
The text was updated successfully, but these errors were encountered: