ruby-changes:51372
From: normal <ko1@a...>
Date: Wed, 6 Jun 2018 06:19:41 +0900 (JST)
Subject: [ruby-changes:51372] normal:r63578 (trunk): test/dtrace/test_array_create.rb: require line number
normal 2018-06-06 06:19:36 +0900 (Wed, 06 Jun 2018) New Revision: 63578 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63578 Log: test/dtrace/test_array_create.rb: require line number Nowadays we create empty arrays in the parse/compile phase which gave us lineno==0. Modified files: trunk/test/dtrace/test_array_create.rb Index: test/dtrace/test_array_create.rb =================================================================== --- test/dtrace/test_array_create.rb (revision 63577) +++ test/dtrace/test_array_create.rb (revision 63578) @@ -26,7 +26,7 @@ module DTrace https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_array_create.rb#L26 def probe type = 'array' <<-eoprobe ruby$target:::#{type}-create -/arg1/ +/arg1 && arg2/ { printf("%d %s %d\\n", arg0, copyinstr(arg1), arg2); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/