zig/test
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
..
cases name types inside functions after variable 2018-02-22 19:54:02 +01:00
standalone introduce std.heap.ArenaAllocator and std.heap.DirectAllocator 2018-02-12 02:14:44 -05:00
assemble_and_link.zig syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00
behavior.zig fix compiler crash when struct contains... 2018-02-15 12:14:20 -05:00
build_examples.zig syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00
compare_output.zig std.os and std.io API update 2018-02-10 21:02:24 -05:00
compile_errors.zig ability to slice an undefined pointer at compile time if the len is 0 2018-02-16 15:22:29 -05:00
gen_h.zig syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00
runtime_safety.zig error sets: runtime safety for int-to-err and err set cast 2018-02-08 21:54:44 -05:00
tests.zig std lib: modify allocator idiom 2018-02-09 18:27:50 -05:00
translate_c.zig syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00