Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

[JENKINS-32062] Arrays could not be passed directly to methods #20

Merged
merged 1 commit into from Dec 15, 2015

Conversation

jglick
Copy link
Member

@jglick jglick commented Dec 14, 2015

JENKINS-32062

@reviewbybees esp. @kohsuke

…mbiguous varargs call to CpsCallableInvocation.<init>.
@kohsuke
Copy link
Contributor

kohsuke commented Dec 14, 2015

I see, so it was unexpected varargs expansion that was getting in the way.

🐝

@jglick
Copy link
Member Author

jglick commented Dec 14, 2015

Yes, the other calls to this constructor come from Java code, which statically resolves a varargs or non-varargs call based on declared types. But the generated code making this call is done by Groovy, which seems to try to guess at the call mode based on the runtime type of its argument, bless its stochastic little heart.

@oleg-nenashev
Copy link

🐝

jglick added a commit that referenced this pull request Dec 15, 2015
[JENKINS-32062] Arrays could not be passed directly to methods
@jglick jglick merged commit 0aeb5e1 into cloudbees:master Dec 15, 2015
@jglick jglick deleted the varargs-JENKINS-32062 branch December 15, 2015 16:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants