paulk-asert commented on PR #15557:
URL: https://github.com/apache/grails-core/pull/15557#issuecomment-4190591196
**Minimal Reproducer**
Two files compiled in the grails-geb testFixtures environment:
```
// SkeletonTrait.groovy
@CompileStatic
trait SkeletonTrait {
static String skeletonField
}
```
```
// SkeletonSpec.groovy
@CompileStatic
abstract class SkeletonSpec extends Specification implements SkeletonTrait
{}
```
These two files can trigger the compilation failure. If they are placed
somewhere else (without `geb-ast`), e.g. grails-test-core, or in the groovy
project, they pass fine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]