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

Already on GitHub? Sign in to your account

cemerick.friend/authenticated does not compile if body contains multiple forms #32

Closed
PetrGlad opened this Issue Nov 9, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

PetrGlad commented Nov 9, 2012

cemerick.friend/authenticated raises error if body contains multiple forms
Reproduction:

 (cemerick.friend/authenticated 1 2)

Produces something like

CompilerException java.lang.RuntimeException: Too many arguments to if, compiling:(api.clj:25) 

Workaround:

 (cemerick.friend/authenticated (do 1 2))

@PetrGlad PetrGlad added a commit to PetrGlad/friend that referenced this issue Nov 10, 2012

@PetrGlad PetrGlad Fix for cemerick/friend #32 f2ccfa1
Owner

cemerick commented Nov 26, 2012

Fixed via gh-33.

@cemerick cemerick closed this Nov 26, 2012

@cemerick cemerick reopened this Nov 26, 2012

@cemerick cemerick closed this Nov 26, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment