zig/std/fmt
Ben Noordhuis 0845cbe277 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.
2018-02-22 19:54:02 +01:00
..
errol syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00
index.zig name types inside functions after variable 2018-02-22 19:54:02 +01:00