Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source reference to meta-annotation causes errors in editor #950

Closed
eric-milles opened this issue Sep 12, 2019 · 0 comments
Closed

Source reference to meta-annotation causes errors in editor #950

eric-milles opened this issue Sep 12, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@eric-milles
Copy link
Member

eric-milles commented Sep 12, 2019

If an annotation that uses @AnnotationCollector is referenced within the workspace (a source reference) an odd error appears in the Groovy editor for the referring class for Groovy 2.5.3+.

image

In this case, @DomainObject comes from a linked project that has been compiled, so a class file is available for it with complete annotation collection information.

DomainObject.groovy:

package tag

import groovy.transform.*

@CompileStatic
@Immutable(copyWith=true)
@AnnotationCollector
@interface DomainObject {
}
@eric-milles eric-milles self-assigned this Sep 12, 2019
@eric-milles eric-milles added this to the v3.5.0 milestone Sep 12, 2019
@eric-milles eric-milles reopened this Sep 19, 2019
@eric-milles eric-milles changed the title Source reference to meta-annotation causes error in editor Source reference to meta-annotation causes errors in editor Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant