1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
shugo ea01ffa569 * vm_core.h (rb_vm_defineclass_type_t),
compile.c (iseq_compile_each), insns.def (defineclass): change the
  meaning of the third operand of defineclass as follows:
    lower 3bits: the type of the defineclass
                   0 = class, 1 = singleton class, 2 = module
    4th bit: a flag represents whether the defineclass is scoped
               0 = not scoped (e.g., class Foo)
	       1 = scoped (e.g., class Bar::Baz)
    5th bit: a flag represents whether the superclass is specified
               0 = not specified (e.g., class Foo)
               1 = specified (e.g., class Bar < Foo)
  If the superclass is specified and is not a class, a TypeError
  should be raised.  [ruby-dev:46747] [Bug #7572]

* test/ruby/test_class.rb: related test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-20 08:13:53 +00:00
..
enc
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb envutil.rb: validate syntax 2012-12-20 02:05:37 +00:00
lbtest.rb
marshaltestlib.rb fix a typo 2012-12-11 12:38:42 +00:00
memory_status.rb memory_status.rb: EnvUtil 2012-12-06 08:25:45 +00:00
sentence.rb
test_alias.rb
test_argf.rb * test/ruby/test_argf.rb (TestArgf#test_chars): since marshal data is 2012-11-26 11:25:45 +00:00
test_arity.rb
test_array.rb * array.c: Fix rdoc for Array#delete [#7437] 2012-11-26 20:14:49 +00:00
test_assignment.rb
test_autoload.rb
test_backtrace.rb * test/ruby/test_backtrace.rb: add a test for 2012-12-01 12:19:52 +00:00
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb * bignum.c (bigdivrem): optimize the way to retry calculation of 2012-11-27 12:46:32 +00:00
test_call.rb
test_case.rb
test_class.rb * vm_core.h (rb_vm_defineclass_type_t), 2012-12-20 08:13:53 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb * complex.c (make_patterns): should not accept extra sign. 2012-11-17 14:57:22 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb variable.c: show namespace 2012-11-29 08:45:13 +00:00
test_continuation.rb
test_defined.rb
test_dir.rb
test_dir_m17n.rb
test_econv.rb
test_encoding.rb
test_enum.rb
test_enumerator.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_env.rb
test_eval.rb
test_exception.rb remove trailing spaces. 2012-11-20 12:34:37 +00:00
test_fiber.rb * vm.c: support variable VM/Machine stack sizes. 2012-12-19 22:29:18 +00:00
test_file.rb
test_file_exhaustive.rb Skip path expansion for all wildcard characters 2012-11-17 12:46:17 +00:00
test_fixnum.rb
test_flip.rb compile.c, vm_insnhelper.c: flip-flop without hidden string key 2012-12-10 06:11:16 +00:00
test_float.rb
test_fnmatch.rb
test_gc.rb Use assert_separately to speed up slow tests 2012-12-14 01:38:12 +00:00
test_hash.rb
test_ifunless.rb
test_integer.rb
test_integer_comb.rb
test_io.rb io.c: recurse for the argument 2012-12-01 10:24:12 +00:00
test_io_m17n.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_iseq.rb * iseq.c (rb_iseq_line_trace_each): iterate `line' event only. 2012-12-01 20:07:58 +00:00
test_iterator.rb
test_keyword.rb * iseq.c (rb_iseq_parameters): fix limit for optional arguments. 2012-12-11 21:44:49 +00:00
test_lambda.rb
test_lazy_enumerator.rb vm.c: save blockprocval 2012-12-05 13:46:11 +00:00
test_literal.rb * compile.c (compile_array_): refix r37991 remove assertion: 2012-11-29 17:35:29 +00:00
test_m17n.rb
test_m17n_comb.rb * test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to get 2012-11-20 15:29:59 +00:00
test_marshal.rb * marshal.c (r_entry0): don't taint classes and modules because 2012-12-13 05:12:55 +00:00
test_math.rb
test_metaclass.rb
test_method.rb method transplanting 2012-12-13 04:06:40 +00:00
test_mixed_unicode_escapes.rb
test_module.rb object.c: nul in const name 2012-12-19 10:34:13 +00:00
test_not.rb
test_notimp.rb
test_numeric.rb
test_object.rb vm_eval.c: public_send does not consider how it is called 2012-12-05 16:10:41 +00:00
test_objectspace.rb * test/ruby/test_objectspace.rb: skip RuntimeError 2012-12-03 11:06:21 +00:00
test_optimization.rb
test_pack.rb
test_parse.rb
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb Suppress warnings 2012-12-19 02:25:37 +00:00
test_process.rb Suppress warning: too long path 2012-12-12 10:06:29 +00:00
test_rand.rb random.c, rational.c: make marshal methods private 2012-12-03 10:10:14 +00:00
test_range.rb
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb * remove trailing spaces. 2012-12-20 01:52:47 +00:00
test_regexp.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_require.rb test_require.rb: clear load path 2012-12-20 03:43:53 +00:00
test_rubyoptions.rb Specify rlimits_core to prevent making core file 2012-12-12 03:12:37 +00:00
test_settracefunc.rb Use next in proc instead of break or return 2012-12-19 06:31:02 +00:00
test_signal.rb * thread.c (struct rb_mutex_struct): add allow_trap field. 2012-11-28 08:30:51 +00:00
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb string.c: compare with to_str 2012-11-30 08:43:52 +00:00
test_stringchar.rb
test_struct.rb struct.c: yield assoc in each_pair 2012-11-19 07:31:05 +00:00
test_super.rb
test_symbol.rb
test_syntax.rb envutil.rb: validate syntax 2012-12-20 02:05:37 +00:00
test_system.rb
test_thread.rb * vm.c: support variable VM/Machine stack sizes. 2012-12-19 22:29:18 +00:00
test_threadgroup.rb * test/ruby/test_thread.rb (test_uninitialized, test_backtrace, 2012-12-14 23:11:36 +00:00
test_time.rb Use more portable value for ENV['TZ'] 2012-12-07 02:58:55 +00:00
test_time_tz.rb Add freebsd to force_tz_test 2012-12-07 02:55:33 +00:00
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb