Bug #13370
Updated by nobu (Nobuyoshi Nakada) over 7 years ago
ArgumentError occurs in 2.4.1 on below code. It's the same in trunk. ```ruby ``` class Foo def one puts 1 end end Foo.new.instance_exec(&:one) # => ArgumentError: no receiver given ``` But it's differece behavior with 2.4.0 . Is this expected ? ``` # 2.4.0 Foo.new.instance_exec(&:one) # 1 # => nil ```