Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Ruby 2.7 options warning during compilation #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

64kramsystem
Copy link
Contributor

During compilation, the usual Ruby 2.7 warning is raised:

lib/compiler/utils.rb:93: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/path/to/ruby/2.7.0/fileutils.rb:463: warning: The called method `cp_r' is defined here

The (conventional) fix applied is to unpack the keyword arguments hash.

During compilation, the usual Ruby 2.7 warning is raised:

    lib/compiler/utils.rb:93: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
    /path/to/ruby/2.7.0/fileutils.rb:463: warning: The called method `cp_r' is defined here

The (conventional) fix applied is to unpack the keyword arguments hash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants