Assertion failed at /home/vsts/work/1/s/src/stage1/analyze.cpp:2261 in get_struct_type. This is a bug in the Zig compiler.thread 29889 panic:
Unable to dump stack trace: debug info stripped
This also occurs if a sub-frame returns error union. Frame functions taken from a submodule is also affected.
The following top-level scope code
crashes the compiler with
This also occurs if a sub-frame returns error union. Frame functions taken from a submodule is also affected.
But if the frame is not a top-level member, the error doesn't occur:
It's also fixed by removing all arguments of the frame function, or changing the return type to something other than an error union.
Using
zig-linux-x86_64-0.8.0-dev.2064+da9da76e3
.