cljs.build.api/build doesn't work with single arity / 2-arity with nil

Description

Using a simple build.clj appended onto the cljs hello world guide:

Results in this stacktrace (note that this will work with advanced optimizations):

Environment

None

Activity

Show:
David Nolen
June 4, 2020, 2:07 PM
Edited

Just adding a note this is not regression but something which was never properly supported.

David Nolen
July 8, 2020, 10:11 PM

Previous comment is not correct, and the issue may be missing information. This should definitely work, otherwise build nor cljs.closure/build would pass nil in the 0-arity cases.

David Nolen
July 8, 2020, 10:21 PM

Was able to create a minimal case and added as test to a branch - this does appear to be some kind of regression.

David Nolen
July 8, 2020, 11:53 PM

Assignee

David Nolen

Reporter

Dominic Monroe

Labels

None

Approval

None

Patch

None

Priority

Blocker
Configure