Skip to content

Commit fc1f351

Browse files
ting-yuanKSP Auto Pick
authored andcommitted
Update ksp2api.md to clarify the change of vararg
(cherry picked from commit d7cc8a3)
1 parent e4a6cd8 commit fc1f351

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/ksp2api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ class OverrideOrder2 : BaseInterface2, GrandBaseInterface1 {
8383
* KSP2: Type annotations on a type argument now present in the resolved type as well
8484

8585
##### vararg parameters
86-
* KSP1: Considered as an `Array` type
87-
* KSP2: Not considered as an `Array` type
86+
* KSP1: Considered as an `Array` type when it is from Java sources.
87+
* KSP2: Not considered as an `Array` type. KSValueParameter returns the declared type consistently.
8888

8989
##### Synthesized members of Enums
9090
* KSP1: `values` and `valueOf` are missing if the enum is defined in Kotlin sources

0 commit comments

Comments
 (0)