1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

For this may be a syntax error (instead of LocalJumpError) in Ruby 2.7

[Fix GH-2078]

This patch is from Yutaka HARA <yutaka.hara+github@gmail.com>.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2019-02-04 06:28:57 +00:00
parent 0c18a3d982
commit 8bda94f78c

View file

@ -2,7 +2,7 @@ def _(&b)$><<->(x){x ? (String===x ?x.upcase:
(Class===x ? x : x.class).name[$a?0:($a=5)]):
" "}[ begin b[];rescue Exception;$!;end ] end
_ { yield }
_ { 1.tap }
_ { method(:p).unbind }
_ { eval "{ " }
_ { Thread.current.join }