-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'topic/422' into 'master'
lkql: improve ways errors messages are transmitted to the checker See merge request eng/libadalang/langkit-query-language!383
- Loading branch information
Showing
6 changed files
with
57 additions
and
5 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
3 changes: 3 additions & 0 deletions
3
testsuite/tests/gnatcheck_errors/generic_inst_walking/prj.gpr
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
project Test is | ||
|
||
end Test; |
5 changes: 5 additions & 0 deletions
5
testsuite/tests/gnatcheck_errors/generic_inst_walking/test.adb
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
procedure Test is | ||
package I is new PP (4); | ||
begin | ||
null; | ||
end; |
37 changes: 37 additions & 0 deletions
37
testsuite/tests/gnatcheck_errors/generic_inst_walking/test.out
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Total gnatcheck failures: 1 | ||
1. Summary | ||
|
||
fully compliant sources : 0 | ||
sources with exempted violations only : 0 | ||
sources with non-exempted violations : 0 | ||
unverified sources : 1 | ||
total sources : 1 | ||
ignored sources : 0 | ||
|
||
non-exempted violations : 0 | ||
rule exemption warnings : 0 | ||
compilation errors : 0 | ||
exempted violations : 0 | ||
internal errors : 1 | ||
|
||
2. Exempted Coding Standard Violations | ||
|
||
no exempted violations detected | ||
|
||
3. Non-exempted Coding Standard Violations | ||
|
||
no non-exempted violations detected | ||
|
||
4. Rule exemption problems | ||
|
||
no rule exemption problems detected | ||
|
||
5. Language violations | ||
|
||
no language violations detected | ||
|
||
6. Gnatcheck internal errors | ||
|
||
test.adb:2:04: error: internal issue at checker.lkql:4:22: test.adb:2:4-2:28: dereferencing a null access [/test.adb] | ||
|
||
>>>program returned status code 2 |
4 changes: 4 additions & 0 deletions
4
testsuite/tests/gnatcheck_errors/generic_inst_walking/test.yaml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
driver: gnatcheck | ||
project: prj.gpr | ||
rules: | ||
- +Rderiving_from_predefined_type |