mirror of
https://github.com/ziglang/zig.git
synced 2025-12-07 06:43:07 +00:00
Before this commit:
fn f() []const u8 {
const S = struct {};
return @typeName(S); // "f()", unexpected.
}
And now:
fn f() []const u8 {
const S = struct {};
return @typeName(S); // "S", expected.
}
Fixes #675.