You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please do not post any internal, closed source snippets on this public issue tracker!
Description
If you accidentally enter a syntax error halfway through a multiline sequence, you can't
escape out of it. It should be possible to abandon the sequence with Ctrl+C.
cache was implemented as a global variable and when arrai code is called from golang,
the import cache persists. This commit moves import cache to context and ensures it
is reset every time arrai code is called in a golang code.
It also allows `EvaluateExpr` to receive a context argument with existing cache inside. The function will not override this cache so that cache can be reused. This is meant for those who run arrai scripts in a golang program.
Please do not post any internal, closed source snippets on this public issue tracker!
Description
If you accidentally enter a syntax error halfway through a multiline sequence, you can't
escape out of it. It should be possible to abandon the sequence with Ctrl+C.
Steps to Reproduce
Expected behavior:
Exits back to
@>
prompt:Actual behavior:
Repeats continuation sequence:
The text was updated successfully, but these errors were encountered: