leo/compiler/otests/array/variable_slice_fail.leo
2021-04-19 18:08:14 -07:00

7 lines
131 B
Plaintext

function main() {
const a = [1u8; 10];
for i in 0..10 {
const x = a[i..10];
console.debug("{}", x);
}
}