diff options
author | Christian Segundo | 2022-12-07 22:33:11 +0100 |
---|---|---|
committer | Christian Segundo | 2022-12-07 22:33:11 +0100 |
commit | be2c84d0f69c3cb9dc747a61a782e9fcd8ca7b4d (patch) | |
tree | 82ceb1a82f9ad7cb2991b8e80c71dd166bfa05cd /day_07.zig | |
parent | c63df4490783c0143fd82938d274c24410444ff7 (diff) | |
download | advent-of-zig-2022-be2c84d0f69c3cb9dc747a61a782e9fcd8ca7b4d.tar.gz |
union enum trips the compiler
Diffstat (limited to 'day_07.zig')
-rw-r--r-- | day_07.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ const std = @import("std"); const Result = @import("util/aoc.zig").Result; -const NodeType = union(enum) { File, Dir }; +const NodeType = enum { File, Dir }; const Node = struct { Name: []const u8, Childs: struct { |