Project

General

Profile

Bug #2311

[BUG] cfp consistency error - send

Added by marcandre (Marc-Andre Lafortune) over 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2009-10-30 trunk 25565) [x86_64-darwin10.0.0]
Backport:
[ruby-core:26427]

Description

=begin
Following r25521:

$rubydev -e '
class X
def method_missing(s); end
end
X.new.foo(:bar) rescue nil
puts "hello"
'

Generates
-e:0:in method_missing': wrong number of arguments (2 for 1) (ArgumentError)
from -e:5:in
'
Instead of "hello"

$ mspec core/file/stat/directory_spec.rb -t rubydev
crashes ruby with [BUG] cfp consistency error - send
=end


Related issues

Has duplicate Backport191 - Bug #2316: [BUG] cfp consistency errorClosed10/31/2009Actions

History

#1

Updated by matz (Yukihiro Matsumoto) over 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r25681.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF