Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
PetrGlad opened this Issue · 1 comment

2 participants

@PetrGlad

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 referenced this issue from a commit in PetrGlad/friend
@PetrGlad PetrGlad Fix for cemerick/friend #32 f2ccfa1
@cemerick
Owner

Fixed via gh-33.

@cemerick cemerick closed this
@cemerick cemerick reopened this
@cemerick cemerick closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.