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

Ruby 2.4 warns to forward private methods #1579

Merged
merged 1 commit into from
May 19, 2017

Conversation

nurse
Copy link
Contributor

@nurse nurse commented May 19, 2017

Like following:

/home/travis/build/fluent/fluentd/lib/fluent/log.rb:149:in `debug': Fluent::PluginLogger#event at /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:156 forwarding to private method Fluent::Log#event
/home/travis/build/fluent/fluentd/lib/fluent/log.rb:150:in `debug': Fluent::PluginLogger#caller_line at /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:156 forwarding to private method Fluent::Log#caller_line

Like following:
/home/travis/build/fluent/fluentd/lib/fluent/log.rb:149:in `debug': Fluent::PluginLogger#event at /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:156 forwarding to private method Fluent::Log#event
/home/travis/build/fluent/fluentd/lib/fluent/log.rb:150:in `debug': Fluent::PluginLogger#caller_line at /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:156 forwarding to private method Fluent::Log#caller_line
@repeatedly repeatedly merged commit db458ad into v0.12 May 19, 2017
@repeatedly
Copy link
Member

Thanks!

@nurse nurse deleted the suppress-warning-with-forwardable branch May 20, 2017 06:52
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