mirror of
https://github.com/ziglang/zig.git
synced 2025-12-12 17:23:09 +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.