stage2: handle int_u64 in elemValueAdvanced

Closes #12599
This commit is contained in:
Veikka Tuominen 2022-08-24 15:04:31 +03:00
parent 5696cc8ab6
commit 38215ccc3e

View File

@ -2689,6 +2689,12 @@ pub const Value = extern union {
// to have only one possible value itself.
.the_only_possible_value => return val,
// pointer to integer casted to pointer of array
.int_u64, .int_i64 => {
assert(index == 0);
return val;
},
else => unreachable,
}
}