groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From av-m <...@git.apache.org>
Subject [GitHub] groovy pull request #748: GROOVY-8628: Groovydoc fails to parse Java static ...
Date Wed, 06 Jun 2018 11:36:32 GMT
Github user av-m commented on a diff in the pull request:

    https://github.com/apache/groovy/pull/748#discussion_r193378890
  
    --- Diff: src/main/antlr2/org/codehaus/groovy/antlr/java/java.g ---
    @@ -402,10 +402,9 @@ wildcardType
     		(("extends" | "super")=> typeArgumentBounds)?
     	;
     
    -typeArgumentsDiamond
    -{Token first = LT(1);}
    +typeArgumentsOrDiamond
         :   LT! GT!
    -    {#typeArgumentsDiamond = #(create(TYPE_ARGUMENTS, "TYPE_ARGUMENTS",first,LT(1)),
#typeArgumentsDiamond);}
    --- End diff --
    
    Since this concerns diamond operators I could not think of any case where actual type
arguments could be extracted.


---

Mime
View raw message