Open jodavies opened 7 years ago
The segfault is due to (intentional) stack overflow at runtime. Please see #57. Related tricky cases are
L F = 1;
.sort
L F = F + 1; * (= 2)
P;
.end
L F = 1;
L G = F + 1; * (= 2)
P;
.end
They have to be valid as used in many programs.
The following program produces a segfault:
Of course it is a bad program, but it would be helpful to catch the error gracefully and print an error message. Tested with the latest commit, fa1c759.
Thanks, Josh.