You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2016/12/01 05:10:58 UTC
[jira] [Created] (GROOVY-8012) A class with a @MapConstructor when
supplied with no args throws NPE
Paul King created GROOVY-8012:
---------------------------------
Summary: 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
Environment: {code}
@groovy.transform.MapConstructor
class Foo {
String bar
}
println new Foo(bar: 'baz').bar // OK
println new Foo() // NPE
{code}
Reporter: Paul King
Assignee: Paul King
Priority: Minor
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)