mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
parse.y: Deprecate flip-flops
Ref #5400 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4fb5888a4d
commit
bae638ad5b
2 changed files with 6 additions and 2 deletions
|
@ -940,7 +940,9 @@ eom
|
|||
eval('1 if !//')
|
||||
end
|
||||
assert_warn('') do
|
||||
verbose_bak, $VERBOSE = $VERBOSE, nil
|
||||
eval('1 if !(true..false)')
|
||||
$VERBOSE = verbose_bak
|
||||
end
|
||||
assert_warning('') do
|
||||
eval('1 if !1')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue