GitHub user fpavageau opened a pull request:
https://github.com/apache/groovy/pull/213
GROOVY-7710 GROOVY-7711 Apply the rules to resolve method consistently
A no-arg call to a varargs method needs to be resolved with the same rules
as when there are exactly the same number of parameters, or even more, by
applying the class distance and extension method biases.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fpavageau/groovy GROOVY-7710-7711
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/213.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #213
----
commit 77e983f654f757d1d517ede03db4b330b7d20ca5
Author: Frank Pavageau <[email protected]>
Date: 2015-12-02T14:23:42Z
Extract common behaviors from the method signature resolution
commit 5288b277cae286306b5d0fb0299cd1e8bfc46cdb
Author: Frank Pavageau <[email protected]>
Date: 2015-12-14T21:58:17Z
GROOVY-7710 GROOVY-7711 Apply the rules to resolve method consistently
A no-arg call to a varargs method needs to be resolved with the same rules
as when there are exactly the same number of parameters, or even more, by
applying the class distance and extension method biases.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---