Skip to content

Commit

Permalink
Revert "parse.y: Deprecate flip-flops"
Browse files Browse the repository at this point in the history
This reverts commit bae638ad5b782c44c80efe33834cb9039279af46.

[Feature #5400]
  • Loading branch information
nobu authored and eregon committed Jul 27, 2019
1 parent 1f09b5c commit 61092f3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions language/if_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -308,18 +308,6 @@
6.times(&b)
ScratchPad.recorded.should == [4, 5, 4, 5]
end

ruby_version_is "2.6" do
it 'is deprecated' do
i = 4

-> do
eval "ScratchPad << 'it works' if (i == 4)..(i == 7)"
end.should complain(/flip-flop is deprecated/)

ScratchPad.recorded.should == ['it works']
end
end
end
end

Expand Down

0 comments on commit 61092f3

Please sign in to comment.