We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.14.0-dev.2577+271452d22
Compile this program on linux x86-64:
const std = @import("std"); pub fn main() !void { foo() catch |e| { const str = @errorName(e); std.debug.print("{s}\n", .{str}); }; } fn foo() !void { return error.OutOfMemory; }
running selfhosted
zig run main.zig -fno-llvm -fno-lld
gives
fMemory
and running llvm backend gives
zig run main.zig
OutOfMemory
On 0.13.0 it works correctly so its regression
I expect output of first and second run to be the same (e.g. "OutOfMemory")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Zig Version
0.14.0-dev.2577+271452d22
Steps to Reproduce and Observed Behavior
Compile this program on linux x86-64:
running selfhosted
gives
and running llvm backend gives
On 0.13.0 it works correctly so its regression
Expected Behavior
I expect output of first and second run to be the same (e.g. "OutOfMemory")
The text was updated successfully, but these errors were encountered: