Skip to content

GROOVY-9327: handle STC for AIC in non-STC class but STC method#1130

Merged
daniellansun merged 1 commit intomasterfrom
GROOVY-9327
Dec 24, 2019
Merged

GROOVY-9327: handle STC for AIC in non-STC class but STC method#1130
daniellansun merged 1 commit intomasterfrom
GROOVY-9327

Conversation

@eric-milles
Copy link
Copy Markdown
Member

https://issues.apache.org/jira/browse/GROOVY-9327

visitClass usually processes inner classes. However, when specific methods are annotated for STC/SC, visitClass is not executed (see org.codehaus.groovy.transform.StaticTypesTransformation#visit). In this case, visitClass(anonType) must be driven and the metadata that visitClass would normally set must be provided.

@paulk-asert
Copy link
Copy Markdown
Contributor

+1

@daniellansun daniellansun merged commit 44893ab into master Dec 24, 2019
@daniellansun
Copy link
Copy Markdown
Contributor

Merged. Thanks.

@eric-milles eric-milles deleted the GROOVY-9327 branch February 11, 2020 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants