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 2017/08/25 01:10:00 UTC
[jira] [Commented] (GROOVY-8297) GroovyDoc ignores overloaded
methods in scripts
[ https://issues.apache.org/jira/browse/GROOVY-8297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16141018#comment-16141018 ]
Paul King commented on GROOVY-8297:
-----------------------------------
Hi Jessica, can you check what version of Groovy you are using? This looks like a duplicate of GROOVY-7497 which was fixed in Groovy 2.4.8. Thanks.
> GroovyDoc ignores overloaded methods in scripts
> -----------------------------------------------
>
> Key: GROOVY-8297
> URL: https://issues.apache.org/jira/browse/GROOVY-8297
> Project: Groovy
> Issue Type: Bug
> Components: GroovyDoc
> Reporter: Jessica Dawson
> Priority: Minor
>
> If multiple methods with the same name are defined in a script _outside of a class_, GroovyDoc only generates docs for the last one in the file.
> For example, if my script is:
> {code:java}
> /**
> * This is a method
> */
> def call() {
> ...
> }
> /**
> * This is a method with the same name
> */
> def call(String abc) {
> ...
> }
> {code}
> call(String abc) will show up in the groovydocs, but call() will not.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)