From: ts Date: 2004-12-01T20:55:25+09:00 Subject: [1.9, 1.8] super 2 points about super and 1.9 1) It's normal ? uln% cat b.rb #!/usr/local/bin/ruby def xx(x) p x end class A def xx(*a) a << 12 super end end A.new.xx([24]) uln% uln% /usr/local/bin/ruby -v b.rb ruby 1.8.2 (2004-11-06) [x86_64-linux] [24] uln% uln% ruby -v b.rb ruby 1.9.0 (2004-12-01) [x86_64-linux] b.rb:9:in `xx': wrong number of arguments (2 for 1) (ArgumentError) from b.rb:9:in `xx' from b.rb:13 uln% 2) Now, for the second point * eval.c (rb_eval): should check previous frame for ZSUPER. SCOPE is a R struct which never use its class and it can be used to store args, no ? 3) 1.8 has the same problem than 1.9 (_block.frame.argc and _block.frame.argv not updated in proc_invoke) Guy Decoux