quark icon indicating copy to clipboard operation
quark copied to clipboard

Defpartial for zero arity

Open florius0 opened this issue 3 years ago • 0 comments

Summary

This PR fixes a compilation error, when defcurry or defpartial are declared as zero-arity functions without parentheses: defcurry f, do: 1 and defpartial f, do: 1 respectively.

Test plan (required)

Corresponding tests are implemented and passing

Closing issues

Fixes #45

After Merge

  • [ ] Does this change invalidate any docs or tutorials? If so ensure the changes needed are either made or recorded
  • [x] Does this change require a release to be made? Is so please create and deploy the release

florius0 avatar Jun 22 '22 20:06 florius0