convex icon indicating copy to clipboard operation
convex copied to clipboard

Fatal error: destructuring non-symbol

Open helins opened this issue 4 years ago • 2 comments

I couldn't remember if :as in destructuring was implemented or not in CVX, so I tried it:

Screenshot from 2021-08-07 11-26-28

But it is not specific to :as. It fails with :foo, 42, ...

helins avatar Aug 07 '21 09:08 helins

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

mikera avatar Aug 09 '21 01:08 mikera

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).

helins avatar Aug 11 '21 09:08 helins