convex
convex copied to clipboard
Fatal error: destructuring non-symbol
I couldn't remember if :as in destructuring was implemented or not in CVX, so I tried it:

But it is not specific to :as. It fails with :foo, 42, ...
I don't think we want to support :as yet on the CVM (non-trivial amounts of complexity in the highly sensitive destructuring code. Happy to hear arguments for / against but I think this is a V2 thing
I don't mind :as not being implemented, at least not for the time being. This issue is rather about the fatal error (which happens with cells other than :as, it's just how I discovered the error).