diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-05-31 15:52:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-06-19 18:46:55 +0900 |
commit | 63aadc237f48be23803acae724401f8b4221fa38 (patch) | |
tree | 96ea77c66f42685bacacca4e69ac64139d93620d /warning.rb | |
parent | 49f0fd21e468e567dc122547d516eef42c0ce0d3 (diff) |
[Feature #16254] Use `Primitive.func` style
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3165
Diffstat (limited to 'warning.rb')
-rw-r--r-- | warning.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/warning.rb b/warning.rb index 6e72ead1e2..f81ad77629 100644 --- a/warning.rb +++ b/warning.rb @@ -40,6 +40,6 @@ module Kernel # baz.rb:6: warning: invalid call to foo # def warn(*msgs, uplevel: nil) - __builtin.rb_warn_m(msgs, uplevel) + Primitive.rb_warn_m(msgs, uplevel) end end |