[#97536] [Ruby master Bug#16694] JIT vs hardened GCC with PCH — v.ondruch@...
Issue #16694 has been reported by vo.x (Vit Ondruch).
11 messages
2020/03/18
[ruby-core:97441] [Ruby master Bug#16685] IRB auto indent does not work for single-line method definitions
From:
sawadatsuyoshi@...
Date:
2020-03-10 21:41:44 UTC
List:
ruby-core #97441
Issue #16685 has been reported by sawa (Tsuyoshi Sawada). ---------------------------------------- Bug #16685: IRB auto indent does not work for single-line method definitions https://bugs.ruby-lang.org/issues/16685 * Author: sawa (Tsuyoshi Sawada) * Status: Open * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- IRB auto indent does not work correctly for single line method definitions within a class. It ends up like this: ```ruby irb(main):001:1* class Foo irb(main):002:1* def a; end irb(main):003:1* def b; end irb(main):004:0> end => :b ``` I believe it should end up like this: ```ruby irb(main):001:1* class Foo irb(main):002:1* def a; end irb(main):003:1* def b; end irb(main):004:0> end => :b ``` -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>