@@ -163,25 +163,25 @@ test.kt:
163163# 23| 2: [IntegerLiteral] 2
164164# 23| 3: [IntegerLiteral] 3
165165# 17| 2: [Annotation] Ann1
166- # 0 | 1: [Annotation] Ann2
167- # 0 | 1 : [StringLiteral] "Hello"
168- # 0 | 2 : [TypeLiteral] String.class
169- # 0 | 0 : [TypeAccess ] String
170- # 0 | 3 : [ArrayInit] {...}
171- # 0 | 1 : [IntegerLiteral] 1
172- # 0 | 2 : [IntegerLiteral] 2
173- # 0 | 3 : [IntegerLiteral] 3
174- # 0 | 4 : [ArrayInit] {...}
175- # 0 | 1 : [Annotation] Ann3
176- # 0 | 1: [IntegerLiteral] 1
177- # 0 | 2 : [Annotation] Ann3
178- # 0 | 1 : [IntegerLiteral] 2
179- # 0 | 5 : [ArrayInit] {...}
180- # 0 | 1 : [TypeLiteral] String.class
181- # 0 | 0 : [TypeAccess ] String
182- # 0 | 2 : [TypeLiteral] int.class
183- # 0 | 0 : [TypeAccess ] int
184- # 17| 2 : [IntegerLiteral] 1
166+ # 17 | 1: [IntegerLiteral] 1
167+ # 17 | 2 : [Annotation] Ann2
168+ # 17 | 1 : [StringLiteral] "Hello"
169+ # 17 | 2 : [TypeLiteral ] String.class
170+ # 17 | 0 : [TypeAccess] String
171+ # 17 | 3 : [ArrayInit] {...}
172+ # 17 | 1 : [IntegerLiteral] 1
173+ # 17 | 2 : [IntegerLiteral] 2
174+ # 17 | 3 : [IntegerLiteral] 3
175+ # 17 | 4 : [ArrayInit] {...}
176+ # 17 | 1: [Annotation] Ann3
177+ # 17 | 1 : [IntegerLiteral] 1
178+ # 17 | 2 : [Annotation] Ann3
179+ # 17 | 1 : [IntegerLiteral] 2
180+ # 17 | 5 : [ArrayInit] {...}
181+ # 17 | 1 : [TypeLiteral ] String.class
182+ # 17 | 0 : [TypeAccess] String
183+ # 17 | 2 : [TypeLiteral ] int.class
184+ # 17| 0 : [TypeAccess] int
185185# 17| 3: [VarAccess] DayOfWeek.MONDAY
186186# 17| -1: [TypeAccess] DayOfWeek
187187# 18| 3: [Annotation] GenericAnnotation
@@ -193,17 +193,17 @@ test.kt:
193193# 18| 2: [TypeLiteral] String.class
194194# 18| 0: [TypeAccess] String
195195# 24| 4: [Annotation] AnnWithDefaults
196- # 0 | 1: [IntegerLiteral] 1
197- # 0 | 2: [StringLiteral] "hello"
198- # 0 | 3: [VarAccess] DayOfWeek.TUESDAY
199- # 0 | -1: [TypeAccess] DayOfWeek
200- # 0 | 4: [ArrayInit] {...}
201- # 0 | 1: [Annotation] Ann3
202- # 0 | 1: [IntegerLiteral] 1
203- # 25 | 1: [Constructor] Annotated
196+ # 15 | 1: [IntegerLiteral] 1
197+ # 15 | 2: [StringLiteral] "hello"
198+ # 15 | 3: [VarAccess] DayOfWeek.TUESDAY
199+ # 15 | -1: [TypeAccess] DayOfWeek
200+ # 15 | 4: [ArrayInit] {...}
201+ # 15 | 1: [Annotation] Ann3
202+ # 15 | 1: [IntegerLiteral] 1
203+ # 17 | 1: [Constructor] Annotated
204204# 17| 5: [BlockStmt] { ... }
205205# 17| 0: [SuperConstructorInvocationStmt] super(...)
206- # 25 | 1: [BlockStmt] { ... }
206+ # 17 | 1: [BlockStmt] { ... }
207207# 27| 9: [Class] AnnotatedUsedByKotlin
208208#-----| -3: (Annotations)
209209# 0| 1: [Annotation] Container
@@ -228,25 +228,25 @@ test.kt:
228228# 33| 2: [IntegerLiteral] 2
229229# 33| 3: [IntegerLiteral] 3
230230# 27| 2: [Annotation] Ann1
231- # 0 | 1: [Annotation] Ann2
232- # 0 | 1 : [StringLiteral] "Hello"
233- # 0 | 2 : [TypeLiteral] String.class
234- # 0 | 0 : [TypeAccess ] String
235- # 0 | 3 : [ArrayInit] {...}
236- # 0 | 1 : [IntegerLiteral] 1
237- # 0 | 2 : [IntegerLiteral] 2
238- # 0 | 3 : [IntegerLiteral] 3
239- # 0 | 4 : [ArrayInit] {...}
240- # 0 | 1 : [Annotation] Ann3
241- # 0 | 1: [IntegerLiteral] 1
242- # 0 | 2 : [Annotation] Ann3
243- # 0 | 1 : [IntegerLiteral] 2
244- # 0 | 5 : [ArrayInit] {...}
245- # 0 | 1 : [TypeLiteral] String.class
246- # 0 | 0 : [TypeAccess ] String
247- # 0 | 2 : [TypeLiteral] int.class
248- # 0 | 0 : [TypeAccess ] int
249- # 27| 2 : [IntegerLiteral] 1
231+ # 27 | 1: [IntegerLiteral] 1
232+ # 27 | 2 : [Annotation] Ann2
233+ # 27 | 1 : [StringLiteral] "Hello"
234+ # 27 | 2 : [TypeLiteral ] String.class
235+ # 27 | 0 : [TypeAccess] String
236+ # 27 | 3 : [ArrayInit] {...}
237+ # 27 | 1 : [IntegerLiteral] 1
238+ # 27 | 2 : [IntegerLiteral] 2
239+ # 27 | 3 : [IntegerLiteral] 3
240+ # 27 | 4 : [ArrayInit] {...}
241+ # 27 | 1: [Annotation] Ann3
242+ # 27 | 1 : [IntegerLiteral] 1
243+ # 27 | 2 : [Annotation] Ann3
244+ # 27 | 1 : [IntegerLiteral] 2
245+ # 27 | 5 : [ArrayInit] {...}
246+ # 27 | 1 : [TypeLiteral ] String.class
247+ # 27 | 0 : [TypeAccess] String
248+ # 27 | 2 : [TypeLiteral ] int.class
249+ # 27| 0 : [TypeAccess] int
250250# 27| 3: [VarAccess] DayOfWeek.MONDAY
251251# 27| -1: [TypeAccess] DayOfWeek
252252# 28| 3: [Annotation] GenericAnnotation
@@ -258,44 +258,48 @@ test.kt:
258258# 28| 2: [TypeLiteral] String.class
259259# 28| 0: [TypeAccess] String
260260# 34| 4: [Annotation] AnnWithDefaults
261- # 0 | 1: [IntegerLiteral] 1
262- # 0 | 2: [StringLiteral] "hello"
263- # 0 | 3: [VarAccess] DayOfWeek.TUESDAY
264- # 0 | -1: [TypeAccess] DayOfWeek
265- # 0 | 4: [ArrayInit] {...}
266- # 0 | 1: [Annotation] Ann3
267- # 0 | 1: [IntegerLiteral] 1
268- # 35 | 1: [Constructor] AnnotatedUsedByKotlin
261+ # 15 | 1: [IntegerLiteral] 1
262+ # 15 | 2: [StringLiteral] "hello"
263+ # 15 | 3: [VarAccess] DayOfWeek.TUESDAY
264+ # 15 | -1: [TypeAccess] DayOfWeek
265+ # 15 | 4: [ArrayInit] {...}
266+ # 15 | 1: [Annotation] Ann3
267+ # 15 | 1: [IntegerLiteral] 1
268+ # 27 | 1: [Constructor] AnnotatedUsedByKotlin
269269# 27| 5: [BlockStmt] { ... }
270270# 27| 0: [SuperConstructorInvocationStmt] super(...)
271- # 35 | 1: [BlockStmt] { ... }
271+ # 27 | 1: [BlockStmt] { ... }
272272# 37| 10: [Class] HasJavaDeprecatedAnnotationUsedByJava
273273#-----| -3: (Annotations)
274274# 37| 1: [Annotation] Deprecated
275- # 38| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByJava
275+ # 0| 1: [StringLiteral] ""
276+ # 0| 2: [BooleanLiteral] false
277+ # 37| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByJava
276278# 37| 5: [BlockStmt] { ... }
277279# 37| 0: [SuperConstructorInvocationStmt] super(...)
278- # 38 | 1: [BlockStmt] { ... }
280+ # 37 | 1: [BlockStmt] { ... }
279281# 40| 11: [Class] HasKotlinDeprecatedAnnotationUsedByJava
280282#-----| -3: (Annotations)
281283# 40| 1: [Annotation] Deprecated
282284# 40| 1: [StringLiteral] "Kotlin deprecation message 1"
283- # 41 | 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByJava
285+ # 40 | 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByJava
284286# 40| 5: [BlockStmt] { ... }
285287# 40| 0: [SuperConstructorInvocationStmt] super(...)
286- # 41 | 1: [BlockStmt] { ... }
288+ # 40 | 1: [BlockStmt] { ... }
287289# 43| 12: [Class] HasJavaDeprecatedAnnotationUsedByKotlin
288290#-----| -3: (Annotations)
289291# 43| 1: [Annotation] Deprecated
290- # 44| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByKotlin
292+ # 0| 1: [StringLiteral] ""
293+ # 0| 2: [BooleanLiteral] false
294+ # 43| 1: [Constructor] HasJavaDeprecatedAnnotationUsedByKotlin
291295# 43| 5: [BlockStmt] { ... }
292296# 43| 0: [SuperConstructorInvocationStmt] super(...)
293- # 44 | 1: [BlockStmt] { ... }
297+ # 43 | 1: [BlockStmt] { ... }
294298# 46| 13: [Class] HasKotlinDeprecatedAnnotationUsedByKotlin
295299#-----| -3: (Annotations)
296300# 46| 1: [Annotation] Deprecated
297301# 46| 1: [StringLiteral] "Kotlin deprecation message 2"
298- # 47 | 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByKotlin
302+ # 46 | 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByKotlin
299303# 46| 5: [BlockStmt] { ... }
300304# 46| 0: [SuperConstructorInvocationStmt] super(...)
301- # 47 | 1: [BlockStmt] { ... }
305+ # 46 | 1: [BlockStmt] { ... }
0 commit comments