Age | Commit message (Collapse) | Author |
|
|
|
which was created solely for making Gradle aware of its changes.
|
|
and minimize customizations in subclasses.
|
|
|
|
|
|
In FIR java types are first resolved to JavaTypeRef which is
incompatible with FirResolvedTypeRef. In FIR, java symbols are
constructed to default be in last FIR resolve phase, therefore
trying a workaround where we manually convert the java type refs
to resolved type refs with internal functions from fir.java module.
|
|
|
|
indexing
|
|
|
|
* this is to align with FE1.0 behavior.
* unmutes functionTypeAlias test.
|
|
* current return type from constructors does not have type arguments.
* replace with star projected type, adding missing type arguments from outer types.
* unmutes innerType test.
|
|
so that `kspVersion` can be constructed by
`"$kotlinBaseVersion-$kspOnlyVersion"`
where `kotlinBaseVersion` is available in gradle.properties.
|
|
Now, instead of specifying keyring and key id in gradle.properties:
$ export ORG_GRADLE_PROJECT_signingKey=$(gpg --export-secret-keys --armor)
$ export ORG_GRADLE_PROJECT_signingPassword=...
|
|
|
|
|
|
|
|
* added support for modifiers from symbols with no PSI.
* unmuted lateinitProperties test.
|
|
* unmutes superTypes test.
|
|
* implements parent for KSValueParameterImpl
* unmuted annotationsInDependencies test.
|
|
|
|
|
|
|
|
This recommended practice also removes a warning in certain cases involving composite builds.
|
|
|
|
|
|
* include static scope when building declarations.
* do not calculate primary constructor for java classes.
* fix package name calculation for synthetic KtConstructor, they do not have psi.
* unmutes declarationPackageName test.
|
|
|
|
old test framework implementation has MockApplication created multiple times,
causing issues with AA stand alone mode initialization.
using a cli compiler from another class loader to avoid this issue.
|
|
* also includes a fix to Java psi modifier for AA.
|
|
|
|
|
|
|
|
By mapping PSIs from SourceElements to PSIs loaded by KSP.
PSIs from descriptors are different instances than PSIs from
KSFileJavaImpl. Although they are structurally equivalent, `equals`
returns false.
|
|
Analysis API does provide synthetic accessor for properties,
which is different from FE 1.0 where we fallback to descriptors for
such synthetic accessors, therefore need to check for valid case
to add ABSTRACT modifier to align with FE 1.0 behavior.
unmutes interfaceWithDefault test.
|
|
Analysis API does not add non custom annotations to KtType's annotation list.
Synthetically adding ExtensionFunctionType annotation to such functional types.
unmutes functionTypeAnnotation test.
|
|
|
|
The fix in the compiler won't be available before 1.8.20.
The workaround comes from https://github.com/google/ksp/pull/1049
|
|
|
|
|
|
so that constants in light classes can be resolved by JavaPsiFacade.
|
|
* implemented referenceElements with KtType.
* added a lite value parameter implementation for value parameters in function type.
* included parent information for non KtSymbol based KSSymbols.
* added more type rendering logics.
* more handling of type alias in type comparision.
* unmutes typeAliasComparision test, temporary mutes nestedClassType.
|
|
* extract IdKey to common-util module.
* add additional information for creating type reference to support location info.
* implement location for KSTypeReference.
|
|
* handles type alias for getting declarations for KSType.
* unmutes typeAlias test.
|
|
and dropping support of other compiler plugins in KSP's task.
|
|
|
|
|
|
* for referenced java types, compiler already handles nullability annotations.
* fixes #167
|
|
declarations.
fixes #1011
|
|
* fixed rendering logic for error types and flexible types.
* fixed origin for kotlin synthetic property accessors.
* unmuted implicitElements implicitPropertyAccessors javaTypes makeNullable parameterTypes tests.
|
|
test-utils.
|