You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/03 20:43:00 UTC
[jira] [Commented] (GROOVY-8628) Groovydoc fails to parse Java
static nested classes with diamond operator
[ https://issues.apache.org/jira/browse/GROOVY-8628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499557#comment-16499557 ]
ASF GitHub Bot commented on GROOVY-8628:
----------------------------------------
GitHub user av-m opened a pull request:
https://github.com/apache/groovy/pull/748
GROOVY-8628: Groovydoc fails to parse Java static nested classes with…
… diamond operator
java.g grammar file:
* Added support for Java static nested class with diamond operator,
e.g. new Class.Nested<>()
* Simplified classOrInterfaceType with typeArgumentsOrDiamond
groovydoc test:
* Added groovydoc tool test for Java static nested class with diamond
operator
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/av-m/groovy GROOVY-8628
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/748.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #748
----
commit 02c7d8e0d911ca4fb4a7c51f348183dd5a061fd8
Author: Marco-Antonio Avallone <ma...@...>
Date: 2018-06-03T20:36:17Z
GROOVY-8628: Groovydoc fails to parse Java static nested classes with diamond operator
java.g grammar file:
* Added support for Java static nested class with diamond operator,
e.g. new Class.Nested<>()
* Simplified classOrInterfaceType with typeArgumentsOrDiamond
groovydoc test:
* Added groovydoc tool test for Java static nested class with diamond
operator
----
> Groovydoc fails to parse Java static nested classes with diamond operator
> -------------------------------------------------------------------------
>
> Key: GROOVY-8628
> URL: https://issues.apache.org/jira/browse/GROOVY-8628
> Project: Groovy
> Issue Type: Bug
> Components: GroovyDoc
> Reporter: Marco-Antonio Avallone
> Priority: Major
>
> Failing source file example:
> {code:java}
> class JavaClass<E> {
> JavaClass() { }
> static class Nested<E> extends JavaClass<E> {
> Nested() { }
> }
> }
> JavaClass<Object> expectedObject = new JavaClass.Nested<>();
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)