-
-
Save fengb/bab9a7bbfff5a11393ebcdc11c6f4e66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "0" | |
| "1" | |
./src/op.zig:160:21: error: found compile log statement | |
@compileLog(s_info.fields[0].name); | |
^ | |
./src/op.zig:161:21: error: found compile log statement | |
@compileLog(s_info.fields[1].name); | |
^ | |
./src/op.zig:163:42: error: container 'struct:244:25' has no member called '0' | |
StackChange.from(@field(pop_type, "0")), | |
^ | |
./src/op.zig:197:16: note: referenced here | |
var size = sparse.len; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.Struct => |s_info| blk: { | |
std.debug.assert(s_info.fields.len == 2); | |
std.debug.assert(s_info.fields.len == 2); | |
@compileLog(s_info.fields[0].name); | |
@compileLog(s_info.fields[1].name); | |
break :blk .{ | |
StackChange.from(@field(pop_type, "0")), | |
StackChange.from(@field(pop_type, "1")), | |
}; | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment