Elsa icon indicating copy to clipboard operation
Elsa copied to clipboard

Handle optional arguments somehow

Open Fuco1 opened this issue 2 years ago • 0 comments

For starters we should add a quick fix that if type is or nil... the argument could be missing and default to nil. But later we should probably introduce the &optional also to the elsa type signature.

  • [ ] add a quick hack assuming nullable always means optional (not safe?)
  • [ ] add proper handling with &optional keyword in the type signature, similar to how we handle &rest

Fuco1 avatar Feb 12 '23 23:02 Fuco1