Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Mutating "methods" can't be called on zero sized struct. #838
The branch between empty and non empty structs happens at https://github.com/zig-lang/zig/blob/master/src/ir.cpp#L12178 where an empty struct "handle" is not considered a pointer since 7bc0145.
At this point I'm not sure what the correct fix would be.