enso
enso copied to clipboard
Stack trace when Enso script finishes with a Panic is upside down
Try running the following example file:
from Standard.Base import all
a = b
b = c
c = Panic.throw "foo"
main = a
Actual behaviour
Execution finished with an error: foo
at <enso> stack-test.main(stack-test.enso:7:8-8)
at <enso> stack-test.a(stack-test.enso:3:5-5)
at <enso> stack-test.b(stack-test.enso:4:5-5)
at <enso> stack-test.c(stack-test.enso:5:5-21)
at <enso> Panic.throw(Internal)
Expected behaviour
The panic-throw location should be at the top of the trace, the order should be reversed.
Execution finished with an error: foo
at <enso> Panic.throw(Internal)
at <enso> stack-test.c(stack-test.enso:5:5-21)
at <enso> stack-test.b(stack-test.enso:4:5-5)
at <enso> stack-test.a(stack-test.enso:3:5-5)
at <enso> stack-test.main(stack-test.enso:7:8-8)
Probably result of my rewrite to Java - #9810
Jaroslav Tulach reports a new STANDUP for yesterday (2024-05-14):
Progress: - planning meeting
- reporting: https://github.com/enso-org/enso/issues/9941
- travel to Kraków
- #9934 fixed by https://github.com/enso-org/enso/pull/9954
- NI & Espresso without JS and Python: https://github.com/enso-org/enso/pull/9866/commits/1933c77b66dabdf970938776206469dcafe9c1a1
- working on GeeCON presentation & demo with Pavel It should be finished by 2024-05-17.
Jaroslav Tulach reports a new STANDUP for yesterday (2024-05-15):
Progress: - merged stacktrace: https://github.com/enso-org/enso/pull/9954
-
Standard.Base
by NI is green: https://github.com/enso-org/enso/pull/9866#issuecomment-2112450583 - snakeyaml review fixes: https://github.com/snakeyaml/snakeyaml/pull/12#discussion_r1601845060
- discussing
TreeToIr
andIrToTruffle
with Pavel It should be finished by 2024-05-17.