authorgravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-08-24 15:04:31+03:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-08-24 15:04:31+03:00
log38215ccc3e7bd4c79e70731c6d50556356c76c39
tree5dacbc5b09bac968d51e4939efc9e1c544a7430b
parent5696cc8ab65370e3c8d63a7d26fd5346db9cc25f

stage2: handle `int_u64` in `elemValueAdvanced`

Closes #12599

1 files changed, 6 insertions(+), 0 deletions(-)

src/value.zig+6
...@@ -2689,6 +2689,12 @@ pub const Value = extern union {...@@ -2689,6 +2689,12 @@ pub const Value = extern union {
2689 // to have only one possible value itself.2689 // to have only one possible value itself.
2690 .the_only_possible_value => return val,2690 .the_only_possible_value => return val,
26912691
2692 // pointer to integer casted to pointer of array
2693 .int_u64, .int_i64 => {
2694 assert(index == 0);
2695 return val;
2696 },
2697
2692 else => unreachable,2698 else => unreachable,
2693 }2699 }
2694 }2700 }