You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2020/04/16 14:31:00 UTC
[jira] [Updated] (GROOVY-9511) Annotation spanning lines is not
supported by Parrot
[ https://issues.apache.org/jira/browse/GROOVY-9511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun updated GROOVY-9511:
-------------------------------
Summary: Annotation spanning lines is not supported by Parrot (was: Multiline annotations involving other annotations not supported by Parrot)
> Annotation spanning lines is not supported by Parrot
> ----------------------------------------------------
>
> Key: GROOVY-9511
> URL: https://issues.apache.org/jira/browse/GROOVY-9511
> Project: Groovy
> Issue Type: Bug
> Reporter: Paul King
> Assignee: Daniel Sun
> Priority: Major
> Fix For: 4.0.0-alpha-1, 3.0.4
>
>
> The following code parses correctly in 2.5.x but fails in 3+:
> {code}
> @interface CollectionOfElements{}
> @interface JoinTable{
> Table table()
> JoinColumn[] joinColumns()
> }
> @interface Table{ String name() }
> @interface JoinColumn{ String name() }
> @interface Column{
> String name()
> boolean nullable()
> }
> class OtherSection {
> @CollectionOfElements
> @JoinTable
> (
> table = @Table(name="gaga"),
> joinColumns = @JoinColumn(name="BoyId")
> )
> @Column(name="favoritepoupon",
> nullable=false)
> Set<String> questions = new HashSet<String> ()
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)