aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_basicinstructions.rb
Commit message (Collapse)AuthorAgeFilesLines
* test/ruby: suppress parser warningsnobu2016-02-191-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_basicinstructions.rb: fix typonobu2013-02-071-1/+1
| | | | | | * test/ruby/test_basicinstructions.rb (test_send_opassign): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_basicinstructions.rb: implementation definednobu2013-02-071-0/+2
| | | | | | | * test/ruby/test_basicinstructions.rb (test_send_opassign): implementation defined behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_basicinstructions.rb: fix typonobu2013-02-071-1/+1
| | | | | | * test/ruby/test_basicinstructions.rb (test_send_opassign): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c: attr_writer should return its argument [Bug #7773]marcandre2013-02-061-1/+12
| | | | | | * test/ruby/test_basicinstructions.rb: Test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* never evaluatednobu2012-07-051-1/+3
| | | | | | | | * test/ruby/test_basicinstructions.rb (test_regexp): fix never evaluated assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (splatarray): make new array if flag is set.nobu2012-02-151-1/+6
| | | | | | | | * compile.c (iseq_compile_each): make new array with splat. [ruby-core:21901][Feature #1125] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* supress warnings.akr2010-01-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): op_asgn to aref should return rhs.nobu2009-09-051-0/+25
| | | | | | | [ruby-core:25387] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): &&= and ||= should return rhs.nobu2009-09-051-2/+8
| | | | | | | [ruby-dev:39163] (#1996), [ruby-core:25143] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): &&= and ||= should return rhs.nobu2009-09-051-17/+38
| | | | | | | [ruby-dev:39163] (#1996), [ruby-core:25143] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_basicinstructions.rb: updated for new classmatz2007-11-091-6/+6
| | | | | | | | | | | | | | | | | behavior. [ruby-dev:32192] * encoding.c (enc_name): Encoding should not rely on ENCODING in the FL_USERS flags. * encoding.c (rb_enc_from_encoding): do not call rb_enc_associate for encoding itself. * encoding.c (enc_register_at): ditto. * marshal.c (r_ivar): do not set real instance variable for encoding data associated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_basicinstructions.rb: fix old tests.ko12007-08-171-3/+3
| | | | | | | | class variables should be inherited. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_basicinstructions.rb: remove an assertion usingko12007-07-051-1/+1
| | | | | | | | | unsupported hash literal (such as {1, 2}). * test/ruby/test_hash.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (th_yield_setup_args): |v| should work as |v,|.ko12007-06-151-2/+2
| | | | | | | | | | | | | | ex) def m;yield 1, 2; end; m{|v| p v} #=> 1 * parse.y: apply above change for "for" statement. * test/ruby/test_assignment.rb: ditto * test/ruby/test_basicinstructions.rb: ditto. * test/ruby/test_iterator.rb: ditto. * test/ruby/test_yield.rb: ditto. * compile.c (iseq_compile_each): fix debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Merge YARVko12006-12-311-0/+628
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e