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 2020/09/26 04:29:00 UTC

[jira] [Resolved] (GROOVY-9754) Provide a record-like equivalent

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

Paul King resolved GROOVY-9754.
-------------------------------
    Fix Version/s: 4.0.0-alpha-1
         Assignee: Paul King
       Resolution: Fixed

Proposed PR merged.

> Provide a record-like equivalent
> --------------------------------
>
>                 Key: GROOVY-9754
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9754
>             Project: Groovy
>          Issue Type: New Feature
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 4.0.0-alpha-1
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> This issue is to look at providing an equivalent to JDK14 records. In the first instance, something like:
> {code}
> @RecordType
> class PersonRecord implements Person, Serializable {
>     String firstName
>     String lastName
> }
> {code}
> Outside the scope of this issue, we can consider syntactic sugar in the grammar to have similar syntax to Java.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)