[ 
https://issues.apache.org/jira/browse/GROOVY-8012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15712688#comment-15712688
 ] 

ASF GitHub Bot commented on GROOVY-8012:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/groovy/pull/466


> A class with a @MapConstructor when supplied with no args throws NPE
> --------------------------------------------------------------------
>
>                 Key: GROOVY-8012
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8012
>             Project: Groovy
>          Issue Type: Bug
>          Components: xforms
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Minor
>
> {code}
> @groovy.transform.MapConstructor
> class Foo {
>     String bar
> }
> println new Foo(bar: 'baz').bar // OK
> println new Foo() // NPE
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to