Skip to content

Commit

Permalink
Merge branch 'mr/pmderodat/unparsing-trivias-lost' into 'master'
Browse files Browse the repository at this point in the history
Update baselines after sloc range change for some empty lists in Langkit

See merge request eng/libadalang/langkit-query-language!343
pmderodat committed Dec 4, 2024
2 parents fdde06a + fff102e commit 53f10c4
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion testsuite/tests/gnatcheck/import_paths/test.out
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ main.adb:1:11: bar
main.adb:1:18: bar
main.adb:2:06: bar
main.adb:3:04: bar
main.adb:3:08: bar
main.adb:3:09: bar
main.adb:4:05: bar
main.adb:4:10: bar

2 changes: 1 addition & 1 deletion testsuite/tests/gnatcheck_errors/lkql_error/test.out
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ main.adb:1:11: error: internal issue at foo.lkql:4:17: Null receiver in dot acce
main.adb:1:18: error: internal issue at foo.lkql:4:17: Null receiver in dot access [foo]
main.adb:2:06: error: internal issue at foo.lkql:4:17: Null receiver in dot access [foo]
main.adb:3:04: error: internal issue at foo.lkql:4:17: Null receiver in dot access [foo]
main.adb:3:08: error: internal issue at foo.lkql:4:17: Null receiver in dot access [foo]
main.adb:3:09: error: internal issue at foo.lkql:4:17: Null receiver in dot access [foo]
main.adb:4:05: error: internal issue at foo.lkql:4:17: Null receiver in dot access [foo]
main.adb:4:10: error: internal issue at foo.lkql:4:17: Null receiver in dot access [foo]

2 changes: 1 addition & 1 deletion testsuite/tests/interpreter/not_pattern/test.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[<CompilationUnit main.adb:1:1-8:10>, <AdaNodeList main.adb:1:1-1:35>, <WithClause main.adb:1:1-1:18>, <LimitedAbsent main.adb:1:1-1:1>, <PrivateAbsent main.adb:1:1-1:1>, <NameList main.adb:1:6-1:17>, <DottedName main.adb:1:6-1:17>, <Id "Ada" main.adb:1:6-1:9>, <Id "Text_IO" main.adb:1:10-1:17>, <UsePackageClause main.adb:1:19-1:35>, <NameList main.adb:1:23-1:34>, <DottedName main.adb:1:23-1:34>, <Id "Ada" main.adb:1:23-1:26>, <Id "Text_IO" main.adb:1:27-1:34>, <LibraryItem main.adb:3:1-8:10>, <PrivateAbsent main.adb:1:35-1:35>, <SubpBody ["Main"] main.adb:3:1-8:10>, <OverridingUnspecified main.adb:1:35-1:35>, <SubpSpec main.adb:3:1-3:15>, <SubpKindProcedure main.adb:3:1-3:10>, <DefiningName "Main" main.adb:3:11-3:15>, <Id "Main" main.adb:3:11-3:15>, <DeclarativePart main.adb:3:18-6:1>, <AdaNodeList main.adb:4:4-5:66>, <DefiningNameList main.adb:4:4-4:11>, <DefiningName "Message" main.adb:4:4-4:11>, <Id "Message" main.adb:4:4-4:11>, <AliasedAbsent main.adb:4:21-4:21>, <ConstantAbsent main.adb:4:21-4:21>, <ModeDefault main.adb:4:21-4:21>, <SubtypeIndication main.adb:4:22-4:28>, <NotNullAbsent main.adb:4:21-4:21>, <Id "String" main.adb:4:22-4:28>, <Str ""Hello World !"" main.adb:4:32-4:47>, <DefiningNameList main.adb:5:4-5:19>, <DefiningName "ConstantMessage" main.adb:5:4-5:19>, <Id "ConstantMessage" main.adb:5:4-5:19>, <AliasedAbsent main.adb:5:21-5:21>, <ConstantPresent main.adb:5:22-5:30>, <ModeDefault main.adb:5:30-5:30>, <SubtypeIndication main.adb:5:31-5:37>, <NotNullAbsent main.adb:5:30-5:30>, <Id "String" main.adb:5:31-5:37>, <Str ""Hello Constant world !"" main.adb:5:41-5:65>, <HandledStmts main.adb:6:6-8:1>, <StmtList main.adb:7:4-7:23>, <CallStmt main.adb:7:4-7:23>, <Id "Put_Line" main.adb:7:4-7:12>, <AssocList main.adb:7:14-7:21>, <ParamAssoc main.adb:7:14-7:21>, <Id "Message" main.adb:7:14-7:21>, <AdaNodeList main.adb:7:22-7:22>, <EndName main.adb:8:5-8:9>, <Id "Main" main.adb:8:5-8:9>, <PragmaNodeList main.adb:8:10-8:10>]
[<CompilationUnit main.adb:1:1-8:10>, <AdaNodeList main.adb:1:1-1:35>, <WithClause main.adb:1:1-1:18>, <LimitedAbsent main.adb:1:1-1:1>, <PrivateAbsent main.adb:1:1-1:1>, <NameList main.adb:1:6-1:17>, <DottedName main.adb:1:6-1:17>, <Id "Ada" main.adb:1:6-1:9>, <Id "Text_IO" main.adb:1:10-1:17>, <UsePackageClause main.adb:1:19-1:35>, <NameList main.adb:1:23-1:34>, <DottedName main.adb:1:23-1:34>, <Id "Ada" main.adb:1:23-1:26>, <Id "Text_IO" main.adb:1:27-1:34>, <LibraryItem main.adb:3:1-8:10>, <PrivateAbsent main.adb:1:35-1:35>, <SubpBody ["Main"] main.adb:3:1-8:10>, <OverridingUnspecified main.adb:1:35-1:35>, <SubpSpec main.adb:3:1-3:15>, <SubpKindProcedure main.adb:3:1-3:10>, <DefiningName "Main" main.adb:3:11-3:15>, <Id "Main" main.adb:3:11-3:15>, <DeclarativePart main.adb:3:18-6:1>, <AdaNodeList main.adb:4:4-5:66>, <DefiningNameList main.adb:4:4-4:11>, <DefiningName "Message" main.adb:4:4-4:11>, <Id "Message" main.adb:4:4-4:11>, <AliasedAbsent main.adb:4:21-4:21>, <ConstantAbsent main.adb:4:21-4:21>, <ModeDefault main.adb:4:21-4:21>, <SubtypeIndication main.adb:4:22-4:28>, <NotNullAbsent main.adb:4:21-4:21>, <Id "String" main.adb:4:22-4:28>, <Str ""Hello World !"" main.adb:4:32-4:47>, <DefiningNameList main.adb:5:4-5:19>, <DefiningName "ConstantMessage" main.adb:5:4-5:19>, <Id "ConstantMessage" main.adb:5:4-5:19>, <AliasedAbsent main.adb:5:21-5:21>, <ConstantPresent main.adb:5:22-5:30>, <ModeDefault main.adb:5:30-5:30>, <SubtypeIndication main.adb:5:31-5:37>, <NotNullAbsent main.adb:5:30-5:30>, <Id "String" main.adb:5:31-5:37>, <Str ""Hello Constant world !"" main.adb:5:41-5:65>, <HandledStmts main.adb:6:6-8:1>, <StmtList main.adb:7:4-7:23>, <CallStmt main.adb:7:4-7:23>, <Id "Put_Line" main.adb:7:4-7:12>, <AssocList main.adb:7:14-7:21>, <ParamAssoc main.adb:7:14-7:21>, <Id "Message" main.adb:7:14-7:21>, <AdaNodeList main.adb:7:23-7:23>, <EndName main.adb:8:5-8:9>, <Id "Main" main.adb:8:5-8:9>, <PragmaNodeList main.adb:8:10-8:10>]
2 changes: 1 addition & 1 deletion testsuite/tests/interpreter/quantified_selector/test.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[<AdaNodeList main.adb:4:4-5:66>, <AdaNodeList main.adb:7:22-7:22>]
[<AdaNodeList main.adb:4:4-5:66>, <AdaNodeList main.adb:7:23-7:23>]
2 changes: 1 addition & 1 deletion testsuite/tests/interpreter/to_list/test.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[1, 2, 3, 4]
[2, 4, 6, 8]
[<OverridingUnspecified main.adb:1:35-1:35>, <SubpSpec main.adb:3:1-3:15>, null, <DeclarativePart main.adb:3:18-6:1>, <HandledStmts main.adb:6:6-8:1>, <EndName main.adb:8:5-8:9>, <SubpKindProcedure main.adb:3:1-3:10>, <DefiningName "Main" main.adb:3:11-3:15>, null, null, <AdaNodeList main.adb:4:4-5:66>, <StmtList main.adb:7:4-7:23>, <AdaNodeList main.adb:7:22-7:22>, <Id "Main" main.adb:8:5-8:9>, <Id "Main" main.adb:3:11-3:15>, <ObjectDecl ["Message"] main.adb:4:4-4:48>, <ObjectDecl ["ConstantMessage"] main.adb:5:4-5:66>, <CallStmt main.adb:7:4-7:23>, <DefiningNameList main.adb:4:4-4:11>, <AliasedAbsent main.adb:4:21-4:21>, <ConstantAbsent main.adb:4:21-4:21>, <ModeDefault main.adb:4:21-4:21>, <SubtypeIndication main.adb:4:22-4:28>, <Str ""Hello World !"" main.adb:4:32-4:47>, null, null, <DefiningNameList main.adb:5:4-5:19>, <AliasedAbsent main.adb:5:21-5:21>, <ConstantPresent main.adb:5:22-5:30>, <ModeDefault main.adb:5:30-5:30>, <SubtypeIndication main.adb:5:31-5:37>, <Str ""Hello Constant world !"" main.adb:5:41-5:65>, null, null, <CallExpr main.adb:7:4-7:22>, <DefiningName "Message" main.adb:4:4-4:11>, <NotNullAbsent main.adb:4:21-4:21>, <Id "String" main.adb:4:22-4:28>, null, <DefiningName "ConstantMessage" main.adb:5:4-5:19>, <NotNullAbsent main.adb:5:30-5:30>, <Id "String" main.adb:5:31-5:37>, null, <Id "Put_Line" main.adb:7:4-7:12>, <AssocList main.adb:7:14-7:21>, <Id "Message" main.adb:4:4-4:11>, <Id "ConstantMessage" main.adb:5:4-5:19>, <ParamAssoc main.adb:7:14-7:21>, null, <Id "Message" main.adb:7:14-7:21>]
[<OverridingUnspecified main.adb:1:35-1:35>, <SubpSpec main.adb:3:1-3:15>, null, <DeclarativePart main.adb:3:18-6:1>, <HandledStmts main.adb:6:6-8:1>, <EndName main.adb:8:5-8:9>, <SubpKindProcedure main.adb:3:1-3:10>, <DefiningName "Main" main.adb:3:11-3:15>, null, null, <AdaNodeList main.adb:4:4-5:66>, <StmtList main.adb:7:4-7:23>, <AdaNodeList main.adb:7:23-7:23>, <Id "Main" main.adb:8:5-8:9>, <Id "Main" main.adb:3:11-3:15>, <ObjectDecl ["Message"] main.adb:4:4-4:48>, <ObjectDecl ["ConstantMessage"] main.adb:5:4-5:66>, <CallStmt main.adb:7:4-7:23>, <DefiningNameList main.adb:4:4-4:11>, <AliasedAbsent main.adb:4:21-4:21>, <ConstantAbsent main.adb:4:21-4:21>, <ModeDefault main.adb:4:21-4:21>, <SubtypeIndication main.adb:4:22-4:28>, <Str ""Hello World !"" main.adb:4:32-4:47>, null, null, <DefiningNameList main.adb:5:4-5:19>, <AliasedAbsent main.adb:5:21-5:21>, <ConstantPresent main.adb:5:22-5:30>, <ModeDefault main.adb:5:30-5:30>, <SubtypeIndication main.adb:5:31-5:37>, <Str ""Hello Constant world !"" main.adb:5:41-5:65>, null, null, <CallExpr main.adb:7:4-7:22>, <DefiningName "Message" main.adb:4:4-4:11>, <NotNullAbsent main.adb:4:21-4:21>, <Id "String" main.adb:4:22-4:28>, null, <DefiningName "ConstantMessage" main.adb:5:4-5:19>, <NotNullAbsent main.adb:5:30-5:30>, <Id "String" main.adb:5:31-5:37>, null, <Id "Put_Line" main.adb:7:4-7:12>, <AssocList main.adb:7:14-7:21>, <Id "Message" main.adb:4:4-4:11>, <Id "ConstantMessage" main.adb:5:4-5:19>, <ParamAssoc main.adb:7:14-7:21>, null, <Id "Message" main.adb:7:14-7:21>]

0 comments on commit 53f10c4

Please sign in to comment.