convex icon indicating copy to clipboard operation
convex copied to clipboard

Fatal error: unquoting without arg

Open helins opened this issue 4 years ago • 0 comments

The Compiler handles the case where no argument is provided to unquote-splicing by returning the Context in an exceptional state: https://github.com/Convex-Dev/convex/blob/master/src/main/java/convex/core/lang/Compiler.java#L275

However, upstream execution does not envision that the Context could indeed be in an exceptional state which throws a fatal error:

Screenshot from 2021-05-01 12-21-38

Edit: Actually, exactly the same situation with unquote.

helins avatar May 01 '21 10:05 helins