SamuelMcGowan/jellyfish_lang

Diagnostics panics due to out of bounds source slice.

Opened this issue · 0 comments

To reproduce:

let a = 1;

print("Calculating 10! ...");

let i = 10;
while i > 1 {
    a = a * i;
    i = i - 1;
    print(a)
}

print("Done!");