Skip to content

Are macros implicit args correctly handled? #2

@piotr-yuxuan

Description

@piotr-yuxuan

At least on my machine the following code

(lreq/with-lazy-require [[clojure.core.async :as async]]
  (async/go 1))

produces the following error:

Wrong number of args (1) passed to: clojure.core.async/go

which can be worked around with:

(lreq/with-lazy-require [[clojure.core.async :as async]]
  (async/go nil nil 1))

as macros actually take two more implicit arguments: &env and &form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions