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
I ran into a situation like this whilst playing around with pixie magic:
(loop [x 1]
(try
(recur (inc x))
(catch ex (println ex))))
RuntimeException: :pixie.stdlib/AssertionException Recur must have same number of forms as matching loop
This lead me to discover that the cause was that try wraps the body in a function, telling the vm to invoke it. Perhaps this is just an implicit limitation, in which case, maybe there's a way to give a better error message, or perhaps there is a way to, instead of wrapping it in a function, evaluate the forms themselves.
I'm happy to work on this, but would need some direction. Thanks!
The text was updated successfully, but these errors were encountered:
I ran into a situation like this whilst playing around with pixie magic:
This lead me to discover that the cause was that try wraps the body in a function, telling the vm to invoke it. Perhaps this is just an implicit limitation, in which case, maybe there's a way to give a better error message, or perhaps there is a way to, instead of wrapping it in a function, evaluate the forms themselves.
I'm happy to work on this, but would need some direction. Thanks!
The text was updated successfully, but these errors were encountered: