Issue #16974 has been reported by ritikesh (Ritikesh G).

----------------------------------------
Bug #16974: frozen string issue in lib/reline/ansi.rb on ruby-2.7.1
https://bugs.ruby-lang.org/issues/16974

* Author: ritikesh (Ritikesh G)
* Status: Open
* Priority: Normal
* ruby -v: 2.7.1
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
`RUBYOPT=--enable-frozen-string irb` throws a `/Users/user/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/reline/ansi.rb:109:in `block in cursor_pos': can't modify frozen String: "" (FrozenError)`. Have created a PR to fix this here - https://github.com/ruby/ruby/pull/3235. 



-- 
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>