mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[Feature #16254] Use Primitive.func
style
This commit is contained in:
parent
49f0fd21e4
commit
63aadc237f
Notes:
git
2020-06-19 18:47:19 +09:00
9 changed files with 58 additions and 58 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue