[Feature #16254] Use Primitive.func style

This commit is contained in:
Nobuyoshi Nakada 2020-05-31 15:52:32 +09:00
parent 49f0fd21e4
commit 63aadc237f
Notes: git 2020-06-19 18:47:19 +09:00
9 changed files with 58 additions and 58 deletions

View file

@ -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