diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2019-09-05 18:34:07 +0900 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-05 17:47:12 -0700 |
| commit | acee6302419f02792ec331d384f430c5fc6bdb70 (patch) | |
| tree | c6c37d5533e516144dfde33f121a063d3be2211f /spec/ruby/core/array/sum_spec.rb | |
| parent | eda8dcea164b561359f638b1489d0ab12659c9a2 (diff) | |
vm_insnhelper.c: Do not read `ci->flag` after CALLER_SETUP_ARG
Actually, the following call is wrongly warned without this change.
```
class C
def method_missing(x, *args, **opt)
end
end
C.new.foo(k: 1)
# warning: The last argument is used as the keyword parameter
# warning: for `method_missing' defined here
```
Diffstat (limited to 'spec/ruby/core/array/sum_spec.rb')
0 files changed, 0 insertions, 0 deletions
