Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
//@Grab('net.jqwik:jqwik:1.1.4') import groovy.transform.CompileStatic import net.jqwik.api.ForAll import net.jqwik.api.Property import net.jqwik.api.constraints.IntRange; @CompileStatic class Jsr308 { @Property boolean 'size zero or positive'( @ForAll() List<@IntRange(foo="") Integer> items // (1) // @ForAll(foo="") List<@IntRange() Integer> items // (2) ) { items.size() >= 0 } }
Invalid annotation attributes stop (2) from compiling but (1) successfully compiles.
Attachments
Issue Links
- relates to
-
GROOVY-11178 JSR308 constructor call annotations not resolved or available
- Closed
-
GROOVY-11179 JSR308 inline constants for annotations in class header
- Closed