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

[FIXED JENKINS-34741] Allow new Class(foo: bar) to work. #114

Merged
merged 1 commit into from
Apr 13, 2017

Conversation

abayer
Copy link
Member

@abayer abayer commented Apr 10, 2017

JENKINS-34741

Adds logic derived from Groovy's MetaClassImpl#invokeConstructor
method to return the no-parameters constructor when no matching
declared constructor is found, there's one argument, and that one
argument is a Map.

cc @reviewbybees

Adds logic derived from Groovy's MetaClassImpl#invokeConstructor
method to return the no-parameters constructor when no matching
declared constructor is found, there's one argument, and that one
argument is a Map.
@abayer abayer requested a review from jglick April 10, 2017 23:30
@ghost
Copy link

ghost commented Apr 10, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Groovy, sigh.

@jglick jglick merged commit 337dfa4 into jenkinsci:master Apr 13, 2017
@jglick
Copy link
Member

jglick commented Apr 13, 2017

cf. #67

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