Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.8.0, 1.8.1, 1.9-beta-1
-
Fix Version/s: 1.8.4, 2.0-beta-1
-
Component/s: parser-antlr
-
Labels:None
-
Number of attachments :
Description
Some method call expressions are parsed differently in 1.8 compared to 1.7. This causes one of Gradle's AST transforms to fail. According to Jochen, this looks like a bug in the 1.8 ANTLR grammar.
task copy(type: Copy) { x = 10 }
g1.7: this.task(this.copy(...))
g1.8: this.task(this.copy(...))
task copy(type: Copy) { println 10 }
g1.7: this.task(this.copy(...))
g1.8: task.copy(...)
The first expression is parsed the same in 1.7 and 1.8, but the second expression is parsed differently.
Activity
Paul King
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.8.2 [ 17495 ] | |
| Fix Version/s | 1.9-beta-2 [ 17494 ] | |
| Affects Version/s | 1.9-beta-1 [ 17153 ] | |
| Affects Version/s | 1.8.2 [ 17495 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.8.3 [ 17657 ] | |
| Fix Version/s | 1.8.2 [ 17495 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.9-beta-4 [ 17656 ] | |
| Fix Version/s | 1.9-beta-3 [ 17494 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.8.4 [ 17852 ] | |
| Fix Version/s | 1.8.3 [ 17657 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.9-beta-5 [ 17925 ] | |
| Fix Version/s | 1.9-beta-4 [ 17656 ] |
Guillaume Laforge
made changes -
| Priority | Critical [ 2 ] | Blocker [ 1 ] |
blackdrag blackdrag
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Jochen Theodorou [ blackdrag ] | |
| Resolution | Fixed [ 1 ] |