Github user blackdrag commented on a diff in the pull request:

    https://github.com/apache/groovy/pull/287#discussion_r55433138
  
    --- Diff: src/spec/test/CoercionTest.groovy ---
    @@ -214,7 +214,7 @@ boolean doFilter(String s) { s.contains('G') }
     Predicate filter = this.&doFilter
     assert filter.accept('Groovy') == true
     
    -Greeter greeter = GroovySystem.&getVersion
    +Greeter greeter = new GroovySystem().&getVersion
    --- End diff --
    
    this change does not make sense to me. getVersion is a static method, so 
GroovySystem.&getVersion must be fine


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to