mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[Feature #16254] Use __builtin.func
style
This commit is contained in:
parent
c8703a17ce
commit
d863f4bccd
Notes:
git
2020-06-19 18:47:20 +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)
|
||||
__builtin.rb_warn_m(msgs, uplevel)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue