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
The interpreter saves the result from the last top-level expression with a return value (DefineResult::NoDefine). We can do something similar when initializing the contract.
To match the behavior of the interpreter, if there are multiple
top-level expressions and the last expression has no return value (e.g.
a `define-` function) but an earlier expression does have a return
value, the last value should be returned.
Fixes#316
To match the behavior of the interpreter, if there are multiple
top-level expressions and the last expression has no return value (e.g.
a `define-` function) but an earlier expression does have a return
value, the last value should be returned.
Fixes#316
To match the behavior of the interpreter, if there are multiple
top-level expressions and the last expression has no return value (e.g.
a `define-` function) but an earlier expression does have a return
value, the last value should be returned.
Fixes#316
Returns Some(7) in the interpreter, when it should return None
The text was updated successfully, but these errors were encountered: