Callstack not always being cleared on function exit #92
Labels
bug.interpreter
A bug specifically relating to the interpreter source code
bug
Generic label for bugs. Every bug should have this tag in addition to the more specific bug tag
good first issue
An issue that provides a good intro to working with the Myst codebase. Be helpful!
Milestone
This issue has been marked as a "Good First Issue"! If you'd like to tackle this issue as your first contribution to the project, be sure to read the Get Involved section of the README for some help with how to get started.
While working on the Spec library, I encountered an interesting error:
At a glance, it looks fairly simple, but looking at where the error came from shows an issue: the line of code causing the error is at the top-level scope. The error comes from the last line here with
IO.puts
:Interestingly, this actually shows two errors with the callstack management:
puts
is the third entry in the list, when the error is actually coming from its argument.A similar issue with the selfstack was addressed previously (see #65), but this seems mostly unrelated.
The text was updated successfully, but these errors were encountered: