functions with body wipe context.extra #186
Closed
Comments
gdementen
added a commit
that referenced
this issue
Jan 25, 2018
…thing except + - * / and where) and a function call failing to evaluate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If there is in the same expression a call to a function with a body and any EvaluableExpression (which gets stored in extra, eg periodic globals,
__getitem__
or attribute access), it breaks, because it first evaluates the EvalableExpression, stores it in .extra then calls the function, which wipes .extra and then by the time we try go evaluate the "larger" expression, we can't find the variable storing the EvaluableExpression result.The text was updated successfully, but these errors were encountered: