Issue #16777 has been reported by jnchito (Junichi Ito).

----------------------------------------
Bug #16777: IRB in Ruby 2.7 hangs on pasting long here document
https://bugs.ruby-lang.org/issues/16777

* Author: jnchito (Junichi Ito)
* Status: Open
* Priority: Normal
* ruby -v: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
IRB in Ruby 2.7 hangs on pasting long here document. Here is an example when I copy and paste the script in the attached file:

![ruby27](http://g.recordit.co/PJil9eMn25.gif)

Ruby 2.6 works well:

![ruby26](http://g.recordit.co/YgrLVYtk5R.gif)

NOTE: The CSV text was taken from here:
[国勢調査 時系列データ CSV形式による主要時系列データ \| ファイル \| 統計データを探す \| 政府統計の総合窓口](https://www.e-stat.go.jp/stat-search/files?page=1&layout=datalist&toukei=00200521&tstat=000001011777&cycle=0&tclass1=000001094741)

---Files--------------------------------
sample.rb (49.7 KB)


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