-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #134 [AQL] Empty collection defined in extension produce a warn…
…ing.
- Loading branch information
Showing
7 changed files
with
185 additions
and
471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
618 changes: 175 additions & 443 deletions
618
...sts/src/org/eclipse/acceleo/query/services/tests/CollectionServicesAstValidationTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...n/forStatement/forStatementEmpty/forStatementEmpty-WindowsEndLine-expected-quickFixes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +0,0 @@ | ||
//@moduleElements.1/@body/@statements.0/@body/@statements.0/@body/@statements.0/@expression/@aql | ||
Add parameter myVariable | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/evaluation/forStatement/forStatementEmpty/forStatementEmpty.mtl [135, 3, 53, 135, 3, 53] , myVariable: String | ||
Surround with Let: myVariable | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/evaluation/forStatement/forStatementEmpty/forStatementEmpty.mtl [227, 6, 6, 242, 7, 0] [let myVariable : String = ''] | ||
[myVariable/] | ||
|
||
[/let] | ||
1 change: 0 additions & 1 deletion
1
...n/forStatement/forStatementEmpty/forStatementEmpty-WindowsEndLine-expected-validation.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
ERROR Empty Sequence defined in extension - 228 238 | ||
8 changes: 0 additions & 8 deletions
8
...urces/evaluation/forStatement/forStatementEmpty/forStatementEmpty-expected-quickFixes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +0,0 @@ | ||
//@moduleElements.1/@body/@statements.0/@body/@statements.0/@body/@statements.0/@expression/@aql | ||
Add parameter myVariable | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/evaluation/forStatement/forStatementEmpty/forStatementEmpty.mtl [132, 3, 53, 132, 3, 53] , myVariable: String | ||
Surround with Let: myVariable | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/evaluation/forStatement/forStatementEmpty/forStatementEmpty.mtl [221, 6, 6, 235, 7, 0] [let myVariable : String = ''] | ||
[myVariable/] | ||
|
||
[/let] | ||
1 change: 0 additions & 1 deletion
1
...urces/evaluation/forStatement/forStatementEmpty/forStatementEmpty-expected-validation.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
ERROR Empty Sequence defined in extension - 222 232 | ||