bakpakin / Fennel

Lua Lisp Language
https://fennel-lang.org
MIT License
2.42k stars 124 forks source link

Cannot use &as with a rest parameter. #460

Closed Mehgugs closed 1 year ago

Mehgugs commented 1 year ago

You cannot have a destructure like [x y & rest &as tbl] or [x y &as tbl & rest].

andreyorst commented 1 year ago

Yes, unfortunately.

This issue is tracked here: https://todo.sr.ht/~technomancy/fennel/64

technomancy commented 1 year ago

Going to close this out as it's already being tracked.