Issue #14824 has been reported by jeremyevans0 (Jeremy Evans). ---------------------------------------- Bug #14824: Endless Range Support in irb https://bugs.ruby-lang.org/issues/14824 * Author: jeremyevans0 (Jeremy Evans) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.6.0preview2 (2018-05-31 trunk 63539) [x86_64-openbsd] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- `irb` currently doesn't have great support for endless ranges, forcing you to use explicit parentheses around the endless range. Without explicit parentheses, it treats the endless range as a line continuation. ~~~ irb(main):001:0> 1.. irb(main):002:0* ; => 1.. irb(main):003:0> (1..) => 1.. irb(main):004:0> ~~~ Ranges with ends do not require parentheses in `irb`, and endless ranges should have the same behavior. -- 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>