Skip to content

Commit b8ed3b7

Browse files
committed
Accept annotation test changes
These are notnull annotations that no longer get inappropriately attached to constructors
1 parent 40e902e commit b8ed3b7

File tree

1 file changed

+0
-14
lines changed
  • java/ql/integration-tests/all-platforms/kotlin/gradle_kotlinx_serialization

1 file changed

+0
-14
lines changed

java/ql/integration-tests/all-platforms/kotlin/gradle_kotlinx_serialization/PrintAst.expected

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ app/src/main/kotlin/testProject/App.kt:
1212
# 0| 2: [ArrayInit] {...}
1313
# 0| 3: [VarAccess] DeprecationLevel.HIDDEN
1414
# 0| -1: [TypeAccess] DeprecationLevel
15-
# 0| 2: [Annotation] NotNull
1615
#-----| 4: (Parameters)
1716
# 0| 0: [Parameter] seen1
1817
# 0| 0: [TypeAccess] int
@@ -445,8 +444,6 @@ app/src/main/kotlin/testProject/App.kt:
445444
# 7| -1: [VarAccess] tmp1_output
446445
# 7| 0: [VarAccess] tmp0_desc
447446
# 7| 6: [Constructor] $serializer
448-
#-----| 1: (Annotations)
449-
# 0| 1: [Annotation] NotNull
450447
# 7| 5: [BlockStmt] { ... }
451448
# 7| 0: [SuperConstructorInvocationStmt] super(...)
452449
# 7| 1: [BlockStmt] { ... }
@@ -493,14 +490,10 @@ app/src/main/kotlin/testProject/App.kt:
493490
# 7| 0: [ReturnStmt] return ...
494491
# 7| 0: [VarAccess] INSTANCE
495492
# 7| 2: [Constructor] Companion
496-
#-----| 1: (Annotations)
497-
# 0| 1: [Annotation] NotNull
498493
# 7| 5: [BlockStmt] { ... }
499494
# 7| 0: [SuperConstructorInvocationStmt] super(...)
500495
# 7| 1: [BlockStmt] { ... }
501496
# 8| 12: [Constructor] Project
502-
#-----| 1: (Annotations)
503-
# 0| 1: [Annotation] NotNull
504497
#-----| 4: (Parameters)
505498
# 8| 0: [Parameter] name
506499
#-----| -1: (Annotations)
@@ -554,7 +547,6 @@ app/src/main/kotlin/testProject/App.kt:
554547
# 0| 2: [ArrayInit] {...}
555548
# 0| 3: [VarAccess] DeprecationLevel.HIDDEN
556549
# 0| -1: [TypeAccess] DeprecationLevel
557-
# 0| 2: [Annotation] NotNull
558550
#-----| 4: (Parameters)
559551
# 0| 0: [Parameter] seen1
560552
# 0| 0: [TypeAccess] int
@@ -813,8 +805,6 @@ app/src/main/kotlin/testProject/App.kt:
813805
# 14| -1: [VarAccess] tmp1_output
814806
# 14| 0: [VarAccess] tmp0_desc
815807
# 14| 6: [Constructor] $serializer
816-
#-----| 1: (Annotations)
817-
# 0| 1: [Annotation] NotNull
818808
# 14| 5: [BlockStmt] { ... }
819809
# 14| 0: [SuperConstructorInvocationStmt] super(...)
820810
# 14| 1: [BlockStmt] { ... }
@@ -856,14 +846,10 @@ app/src/main/kotlin/testProject/App.kt:
856846
# 14| 0: [ReturnStmt] return ...
857847
# 14| 0: [VarAccess] INSTANCE
858848
# 14| 2: [Constructor] Companion
859-
#-----| 1: (Annotations)
860-
# 0| 1: [Annotation] NotNull
861849
# 14| 5: [BlockStmt] { ... }
862850
# 14| 0: [SuperConstructorInvocationStmt] super(...)
863851
# 14| 1: [BlockStmt] { ... }
864852
# 15| 5: [Constructor] X
865-
#-----| 1: (Annotations)
866-
# 0| 1: [Annotation] NotNull
867853
# 14| 5: [BlockStmt] { ... }
868854
# 14| 0: [SuperConstructorInvocationStmt] super(...)
869855
# 15| 1: [BlockStmt] { ... }

0 commit comments

Comments
 (0)