Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 4.0
-
Component/s: parser-antlr
-
Labels:None
-
Number of attachments :
Description
It would be great to have a possibility to omit parentheses in closure annotations like this:
@Require({it > 2})
def myMethod() {
...
}
and after change:
@Require {it > 2}
def myMethod() {
...
}
Activity
Guillaume Laforge
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Priority | Major [ 3 ] | Minor [ 4 ] |
| Description |
It would be great to have a possibility to omit parentheses in closure annotations like this:
@Require({it > 2}) def myMethod() { ... } and after change: @Require {it > 2} def myMethod() { ... } |
It would be great to have a possibility to omit parentheses in closure annotations like this:
{code} @Require({it > 2}) def myMethod() { ... } {code} and after change: {code} @Require {it > 2} def myMethod() { ... } {code} |
| Component/s | parser-antlr [ 11322 ] | |
| Component/s | Compiler [ 13529 ] |
blackdrag blackdrag
made changes -
| Fix Version/s | 4.0 [ 18928 ] |