Closed ikskuh closed 1 year ago
You can apparently also trigger (what I assume is the same bug) in a different case by doing an equivalent series of expressions with optionals and trying to coalesce them with orelse
.
issue no longer exists
$ zig version
0.11.0-dev.1026+4172c2916
$ zig build-exe bug1.zig
# no segfault
While doing some code golfing, i found a bug in the compiler that crashes with a segfault when compiling this code: