mirror of
https://github.com/ziglang/zig.git
synced 2025-12-11 08:43: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.