From 837babd56459aafc1232a12fbfa783025d619b98 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 6 Nov 2015 03:39:23 +0000 Subject: change DOTQ * defs/id.def (token_ops), parse.y (parser_yylex): change DOTQ from ".?" to "&.". [ruby-core:71363] [Feature #11537] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_iseq.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_iseq.rb') diff --git a/test/ruby/test_iseq.rb b/test/ruby/test_iseq.rb index f87a8a0361..b8d3c66715 100644 --- a/test/ruby/test_iseq.rb +++ b/test/ruby/test_iseq.rb @@ -181,7 +181,7 @@ class TestISeq < Test::Unit::TestCase end def test_safe_call_chain - src = "a.?a.?a.?a.?a.?a" + src = "a&.a&.a&.a&.a&.a" body = compile(src, __LINE__, {peephole_optimization: true}).to_a[13] labels = body.select {|op, arg| op == :branchnil}.map {|op, arg| arg} assert_equal(1, labels.uniq.size) -- cgit v1.2.3