[ruby-trunk - Bug #6160][Open] '\\'.delete('\\') raise ArgumentError: empty string

Issue #6160 has been reported by Kazuhiro NISHIYAMA.


Bug #6160: ‘\’.delete(’\’) raise ArgumentError: empty string
https://bugs.ruby-lang.org/issues/6160

Author: Kazuhiro NISHIYAMA
Status: Open
Priority: Normal
Assignee: Kazuhiro NISHIYAMA
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-03-17 trunk 35072) [x86_64-linux]

r35069 の変更の影響でクリーンビルドすると
…/tool/transcode-tblgen.rb:758:in `delete’: empty string
(ArgumentError)
で止まります。

再現条件を絞り込んだところ ‘\’.delete(’\’) で ArgumentError になりました。

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs