Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't test custom let macro? #34

Closed
didibus opened this issue Oct 24, 2021 · 2 comments
Closed

Can't test custom let macro? #34

didibus opened this issue Oct 24, 2021 · 2 comments

Comments

@didibus
Copy link

didibus commented Oct 24, 2021

It seems let is treated special by RCF:

(defmacro let
  [bindings & exprs]
  100)

(tests
  (! (let [a 1] a))
  % := 100)

;; Test Fail!

When I macro-expand, I see that RCF uses clojure.core/let instead of the dedefined let.

@ggeoffrey
Copy link
Member

ggeoffrey commented Oct 26, 2021

Thank you for the report. This is a bug. I understand the issue and have an idea of how to fix it. I’ll keep you posted.

@ggeoffrey
Copy link
Member

Related to #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants