[
https://issues.apache.org/jira/browse/GROOVY-10584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krzysztof Sierszeń updated GROOVY-10584:
----------------------------------------
Description:
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)
was: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}}
> 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ń
> 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)