Forum: Ruby-core [Ruby 1.9 - Bug #5141][Open] Inconsistent indentation in method call with args on multiple lines.

Posted by Nicolas Buduroi (Guest)
on 2011-08-02 03:26
(Received via mailing list)
Issue #5141 has been reported by Nicolas Buduroi.

----------------------------------------
Bug #5141: Inconsistent indentation in method call with args on multiple 
lines.
http://redmine.ruby-lang.org/issues/5141

Author: Nicolas Buduroi
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: HEAD


The indentation of method call with arguments spread on multiple lines 
is inconsistent.

  belongs_to(:foo,
          :class_name => 'Foo',
          :foreign_key => 'foo_id')

  has_many(:bar,
      :class_name => 'Bar',
      :foreign_key => :bar_id)

This was working correctly in earlier versions.
Posted by Yui NARUSE (Guest)
on 2011-08-02 08:30
(Received via mailing list)
Issue #5141 has been updated by Yui NARUSE.

Category set to misc
Status changed from Open to Assigned
Assignee set to Nobuyoshi Nakada
Parent task set to #5142


----------------------------------------
Bug #5141: Inconsistent indentation in method call with args on multiple 
lines.
http://redmine.ruby-lang.org/issues/5141

Author: Nicolas Buduroi
Status: Assigned
Priority: Normal
Assignee: Nobuyoshi Nakada
Category: misc
Target version:
ruby -v: HEAD


The indentation of method call with arguments spread on multiple lines 
is inconsistent.

  belongs_to(:foo,
          :class_name => 'Foo',
          :foreign_key => 'foo_id')

  has_many(:bar,
      :class_name => 'Bar',
      :foreign_key => :bar_id)

This was working correctly in earlier versions.
Posted by Nobuyoshi Nakada (nobu)
on 2012-12-03 03:43
(Received via mailing list)
Issue #5141 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Assigned to Closed

Use Emacs-bundled ruby-mode.el.
----------------------------------------
Bug #5141: Inconsistent indentation in method call with args on multiple 
lines.
https://bugs.ruby-lang.org/issues/5141#change-34334

Author: budu (Nicolas Buduroi)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: misc
Target version:
ruby -v: HEAD


The indentation of method call with arguments spread on multiple lines 
is inconsistent.

  belongs_to(:foo,
          :class_name => 'Foo',
          :foreign_key => 'foo_id')

  has_many(:bar,
      :class_name => 'Bar',
      :foreign_key => :bar_id)

This was working correctly in earlier versions.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.