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

Incorrect indention of multiple airty protocol forms within defrecord & deftype #389

Closed
bpoweski opened this issue Jun 26, 2016 · 1 comment

Comments

@bpoweski
Copy link
Contributor

Expected behavior

deftype & defrecord exhibit the same indention regression issue referenced in #344.

(deftype Banana []
  Fruit
  (subtotal
    ([item]
     (* 158 (:qty item)))
    ([item a]
     (* a (:qty item)))))

Actual behavior

(deftype Banana []
  Fruit
  (subtotal
      ([item]
       (* 158 (:qty item)))
    ([item a]
     (* a (:qty item)))))

Steps to reproduce the problem

Use the above form and indent using C-c n.

Environment & Version information

clojure-mode version information

clojure-mode (version 5.5.0-snapshot)

Emacs version

GNU Emacs 24.5.1 (x86_64-apple-darwin14.5.0, NS apple-appkit-1348.17)
of 2015-10-19

Operating system

OSX 10.11.5

@bbatsov
Copy link
Member

bbatsov commented Jun 27, 2016

Fixed by #390.

@bbatsov bbatsov closed this as completed Jun 27, 2016
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

2 participants