-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Regression: incorrect indentation of multiple arity extend-type forms #344
Comments
Oh. Didn't know type methods could have multiple arities. |
@Malabarba This issue still exists for |
Could you show an example snippet? Just to make sure I get it right. |
@Malabarba Sure. Here is how (specify obj
ISwap
(-swap!
([this f] (reset! this (f @this)))
([this f a] (reset! this (f @this a)))
([this f a b] (reset! this (f @this a b)))
([this f a b xs] (reset! this (apply f @this a b xs))))) Here is how, I assume, (specify obj
ISwap
(-swap!
([this f] (reset! this (f @this)))
([this f a] (reset! this (f @this a)))
([this f a b] (reset! this (f @this a b)))
([this f a b xs] (reset! this (apply f @this a b xs))))) Same goes for |
Probably there should be a separate ticket for this. As |
@bbatsov |
Ah, OK. |
@bbatsov Nice, |
I'll commit the fix right now. |
Thanks! |
With clojure-mode 5.0.0:
Which used to be:
Emacs debug info:
The text was updated successfully, but these errors were encountered: