[ 
https://issues.apache.org/jira/browse/GROOVY-8012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King resolved GROOVY-8012.
-------------------------------
    Resolution: Fixed

Proposed PR merged

> 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