aboutsummaryrefslogtreecommitdiff
path: root/std/debug
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2018-02-22 17:53:58 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2018-02-22 19:54:02 +0100
commit0845cbe27783486feb5b4b57b2839326a2c86a6b (patch)
treeb84792ffb976bdad957943043b86c515d8905ad4 /std/debug
parent884b5fb4cfa81fba863f24cf5c6d9d7c2a21d11f (diff)
downloadzig-0845cbe27783486feb5b4b57b2839326a2c86a6b.tar.gz
zig-0845cbe27783486feb5b4b57b2839326a2c86a6b.zip
name types inside functions after variable
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.
Diffstat (limited to 'std/debug')
0 files changed, 0 insertions, 0 deletions