aboutsummaryrefslogtreecommitdiff
path: root/test-utils/src/main/kotlin/com
AgeCommit message (Collapse)Author
2022-08-27AA: implement annotation argument value.Jiaxiang Chen
* implemented reading annotation arguments declared in Kt source. * implemented annotation default value reading for Kt sources. * implemented function local declarations. * refactored `KSType.declaration` for better handling local classes. * refactored `KSClassDeclaration` implementation to use more abstract KtSymbol. * split annotationValue tests into kotlin and java. * unmutes annotationValue_kt test.
2022-08-27fix test for hello.kt: sort test result.Jiaxiang Chen
unmutes this test for AA.
2022-07-16Fix assignable check for function types with deserialized descriptors.Fedor Ihnatkevich
E.g. a `kotlin.Function0` type is a Kotlin "fictional" type; the real JVM type it is backed by for JVM is `kotlin.jvm.functions.Function0`. Inside the compiler the backing type is always converted into Kotlin's one. Yet for KSP the `kotlin.jvm.functions.Function0` with its deserialized descriptor can be obtained directly (e.g. via `getJavaClassByName`) and used along with the `kotlin.Function0` type. This CL fixes the assignability check between such types.
2022-06-28Recover `lateinit` modifier for descriptor-based implementations. (#1030)Fedor Ihnatkevich
* Recover `lateinit` modifier for descriptor-based implementations.
2022-05-26fix annotation value resolution for annotations declared in Java source.Jiaxiang Chen
2022-05-17use correct type for vararg value parameter descriptor implementationJiaxiang Chen
2022-05-10try to get psi before creating sealed sub class declarationsJiaxiang Chen
2022-04-30UPDATE_KOTLIN_VERSION: 1.7.20-dev-474Jiaxiang Chen
2022-04-22Add support for getting annotation default values (#949)James Kleeh
2022-04-20Add support for knowing if an annotation value was declared or notjameskleeh
2022-04-04Fix subtype checking for Java types.Jiaxiang Chen
Compiler subtype checking does not convert Java types to Kotlin types, while getting super types from a java type does the conversion, therefore resulting in subtype checking for Java types to fail. Check if candidate super type is a Java type, convert to Kotlin type for subtype checking. Potentially needs an ultimate fix in compiler for subtype checking.
2022-04-03use abbrevation for type arguments in KSTypeYigit Boyar
2022-04-03repro for #881Yigit Boyar
2022-03-30Align superTypes among implementationsTing-Yuan Huang
If there is no direct super type, use kotlin.Any.
2022-03-17Hoist test file parsing logicTing-Yuan Huang
2022-03-17Move test processors to test-utilsTing-Yuan Huang
so that they can be shared.
2022-03-17Introduce new test framework in test-utilsTing-Yuan Huang