You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/04/16 23:39:00 UTC

[jira] [Commented] (GROOVY-10584) Stub generator does not respect BaseScript

    [ https://issues.apache.org/jira/browse/GROOVY-10584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523252#comment-17523252 ] 

Eric Milles commented on GROOVY-10584:
--------------------------------------

Stub generation runs at the end of the CONVERSION compiler phase.  {{BaseScript}} is processed in the SEMANTIC_ANALYSIS phase.

> Stub generator does not respect BaseScript
> ------------------------------------------
>
>                 Key: GROOVY-10584
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10584
>             Project: Groovy
>          Issue Type: Bug
>          Components: Stub generator / Joint compiler
>            Reporter: Krzysztof Sierszeń
>            Assignee: Eric Milles
>            Priority: Minor
>
> The {{BaseScript(CustomScriptClass)}} annotation is ignored by the stub generator and consequently, stubs generated for a {{BaseScript}} - annotated script still inherit from {{groovy.lang.Script}} rather than {{CustomScriptClass}}
> (issue originally raised [here|https://github.com/groovy/GMavenPlus/issues/209], in case you need more context)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)