diff options
| author | tgschultz <tgschultz@gmail.com> | 2019-05-29 10:23:21 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-05-29 20:46:08 -0400 |
| commit | 8eaf1387c712c62e96fa165ac3390c8f8f924daa (patch) | |
| tree | bdf7b260a2103437fea29355d0dd779504aa5dc0 /std/os.zig | |
| parent | f9e7bd2682a83bad2b74686dd9b860fc2ce7ef8f (diff) | |
| download | zig-8eaf1387c712c62e96fa165ac3390c8f8f924daa.tar.gz zig-8eaf1387c712c62e96fa165ac3390c8f8f924daa.zip | |
Fix fmt.zig handling of slices of slices
Discovered while calling testing.expectError on an error union with payload [][]const u8. Even though the payload was not going to be printed, the current format handling caused a compile error anyway because it couldn't be casted to []const u8. The new handling treats a []u8 as a string but otherwise treats the slice as a pointer.
Diffstat (limited to 'std/os.zig')
0 files changed, 0 insertions, 0 deletions
