Commit Graph

98544 Commits

Author SHA1 Message Date
Sebastian Sellmair 3a9ca1c1eb [Gradle] IdeMultiplatformImportFactory: Empty overwrite for Android AdditionalArtifactResolutionPhase.SourcesAndDocumentationResolution
^KT-56430 Verification Pending
2023-02-06 13:05:06 +00:00
Sebastian Sellmair 7341f37838 [Gradle] Implement IdeAndroidDependencyResolutionTest
Added failing test for: KT-56430
2023-02-06 13:05:05 +00:00
Oleksandr Karpovich dec9704cea Add more methods to DescriptorSerializerPlugin
New methods:
afterFunction, afterConstructor, afterProperty, afterTypealias
2023-02-06 11:15:53 +00:00
aleksandrina-streltsova 7db32f6430 [FIR] Fix unexpected primary constructor scope in secondary constructor
^KTIJ-23720
^KT-56353 Fixed
2023-02-06 10:30:28 +00:00
Dmitriy Novozhilov c25a5bc9c1 [FIR] Cleanup storing context for lambdas during body resolution 2023-02-06 10:08:37 +00:00
Dmitriy Novozhilov 791a7b1c31 [FIR] Extract function type kind for lambda in argument position
^KT-56381 Fixed
2023-02-06 10:08:37 +00:00
Dmitriy Novozhilov e36d3c94a5 [FIR] Add containingFunctionSymbol property to FirValueParameterSymbol 2023-02-06 10:08:36 +00:00
Nikolay Krasko 6afaa13eab Add docker file for building Kotlin build environment
KTI-1119
2023-02-06 10:01:53 +00:00
Nikolay Krasko e8e79985a5 Fix import for performance project when kotlin.native is enabled 2023-02-06 10:01:52 +00:00
Valeriy.Vyrva 9a0e2b08f1 Bump JUnit5 version to 5.9.1 2023-02-06 10:01:52 +00:00
Sebastian Sellmair 300995209f [Gradle] MppIdeDependencyResolutionIT: Use correct encoder for assertion
^KT-56429 Verification Pending
2023-02-06 09:54:58 +00:00
Pavel Kunyavskiy abbf11e8e1 [K/N] Mark immutable temp variables as immutable
This optimizes 5000 enum entries enum compilation time from "I can't wait" to around 1 minute.
2023-02-06 08:34:11 +00:00
Dmitriy Novozhilov f479a56f5e [FIR] Fix reporting of CANNOT_INFER_PARAMETER_TYPE on lambda parameters
^KT-56138 Fixed
2023-02-06 08:09:57 +00:00
Dmitriy Novozhilov 76d360d793 [FIR] Properly set source for inferred return type of function 2023-02-06 08:09:56 +00:00
Dmitriy Novozhilov e9204521a9 [FIR] Properly create type ref for error type in various places 2023-02-06 08:09:56 +00:00
Dmitriy Novozhilov ad3ae0ff69 [FIR] Add ability to specify that diagnostic collector should visit nodes with specific fake kind 2023-02-06 08:09:55 +00:00
Anna Kozlova f784628ebf [CLI] reduce memory usage for compiler settings
make write protection directly in properties
it creates no additional wrapper with the link to the containing class
for ij project, this reduces memory usage for ~15 mb

^KT-56351
2023-02-06 07:57:53 +00:00
Vladimir Sukharev 441c74e2c8 Unmute test, fixed by KT-55462
Merge-request: KT-MR-8640
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2023-02-05 16:37:13 +00:00
Roman Golyshev 08831c0867 [Analysis API] KTIJ-24192 Use only lowerBound on flexible types when looking for decompiled PSI
Otherwise, decompiled declarations with flexible types in them cannot be
properly resolved by the Analysis API

Examples of such declarations:

```kt
fun foo()/*: ImplicitTypeFromJava! */ = <some call to java code>

var bar/*: ImplicitTypeFromJava! */ = foo()
// set(value: ImplicitTypeFromJava!) { ... }
```

^KTIJ-24192 Fixed
2023-02-03 23:34:51 +01:00
Dmitrii Gridin 0608e44b17 [SLC] drop redundant testData
after 6fd79f4e2e

^KTIJ-24067
2023-02-03 19:49:16 +00:00
Dmitrii Gridin fb8e4e7c8d [FIR] FirBasedSymbol: add more info to kdoc
^KT-56046
2023-02-03 19:49:16 +00:00
Dmitrii Gridin 5b8ece379d [SLC] GranularAnnotationsBox: drop commented annotations
^KT-56046
2023-02-03 19:49:16 +00:00
Dmitrii Gridin 2c96933f5c [FIR] FirBasedSymbol: drop unused functions
^KT-56046
2023-02-03 19:49:15 +00:00
Dmitrii Gridin cc7527a5bc [FIR] CompilerRequiredAnnotationsHelper: update kdoc and drop commented values
^KT-56046
2023-02-03 19:49:15 +00:00
Dmitrii Gridin 3e4c6b160a [AA] KtAnnotationApplicationInfo: add more information to kdoc
^KT-56046
2023-02-03 19:49:15 +00:00
Dmitrii Gridin 00eddae867 [SLC] rename from toFilterWithAdditionalNull to toOptionalFilter
^KT-56046
2023-02-03 19:49:14 +00:00
Dmitrii Gridin 482bc15a70 [AA] rename from NullAnnotationUseSiteTargetFilter to NoAnnotationUseSiteTargetFilter
^KT-56046
2023-02-03 19:49:14 +00:00
Dmitrii Gridin 197160fbd7 [SLC] SymbolLightAbstractAnnotationParameterList: introduce more flexible symbolLightAnnotationParameterList api
^KT-56046
2023-02-03 19:49:14 +00:00
Dmitrii Gridin d7535c303d [SLC] rename from SimpleAdditionalAnnotationsProvider to CollectionAdditionalAnnotationsProvider
^KT-56046
2023-02-03 19:49:13 +00:00
Dmitrii Gridin 6e48774fff [SLC] rename from SimpleAnnotationFilter to CollectionAnnotationFilter
^KT-56046
2023-02-03 19:49:13 +00:00
Dmitrii Gridin fc05fa5b1a [SLC] rename from LazyAnnotationsBox to GranularAnnotationsBox
^KT-56046
2023-02-03 19:49:13 +00:00
Dmitrii Gridin a2c0a88592 [SLC] rename from LazyModifiersBox to GranularModifiersBox
^KT-56046
2023-02-03 19:49:12 +00:00
Dmitrii Gridin c05a47355e [SLC] rename from SimpleModifiersBox to InitializedModifiersBox
^KT-56046
2023-02-03 19:49:12 +00:00
Dmitrii Gridin 650267592c [SLC] rename from SimpleAnnotationsBox to ComputeAllAtOnceAnnotationsBox
^KT-56046
2023-02-03 19:49:12 +00:00
Dmitrii Gridin 0b7ef03490 [SLC] AnnotationFilter: add kdoc
^KT-56046
2023-02-03 19:49:11 +00:00
Dmitrii Gridin 4e07210b9c [SLC] AnnotationsProvider: add kdoc
^KT-56046
2023-02-03 19:49:11 +00:00
Dmitrii Gridin 153ee3bc4b [SLC] AdditionalAnnotationsProvider: add kdoc
^KT-56046
2023-02-03 19:49:11 +00:00
Dmitrii Gridin ceb0b95d99 [AA] KtAnnotationApplication: update kdoc
^KT-56046
2023-02-03 19:49:10 +00:00
Dmitrii Gridin 2f79f0daa0 [SLC] AdditionalAnnotationsProvider: code style update
^KT-56046
2023-02-03 19:49:10 +00:00
Dmitrii Gridin 015b2a3357 [SLC] AnnotationsBox: add kdoc
^KT-56046
2023-02-03 19:49:10 +00:00
Dmitrii Gridin a0fa1cce85 [SLC] ModifiersBox: add kdoc
^KT-56046
2023-02-03 19:49:09 +00:00
Dmitrii Gridin 817eeb3a49 [AA] KtAnnotationApplication: add more information to kdoc
^KT-56046
2023-02-03 19:49:09 +00:00
Dmitrii Gridin ef566ab479 [SLC] SymbolLightAbstractAnnotationParameterList: drop redundant equals/hashCode
^KT-56046
2023-02-03 19:49:09 +00:00
Dmitrii Gridin a36e476900 [AA Fe10] KtFe10AnnotationsList: fix index consistence
^KT-56046
2023-02-03 19:49:08 +00:00
Dmitrii Gridin 09b78a9bca [SLC] NullabilityAnnotationsProvider: use isNullOrNotNullQualifiedName extension
^KT-56046
2023-02-03 19:49:08 +00:00
Dmitrii Gridin 379044f2c8 [AA] KtAnnotationApplication: make index nullable
^KT-56046
2023-02-03 19:49:08 +00:00
Dmitrii Gridin 50711d5003 [SLC] SymbolPsiArrayInitializerMemberValue: cached computed values
^KT-56046
2023-02-03 19:49:07 +00:00
Dmitrii Gridin 0928a5be08 [SLC] migrate from AtomicFieldUpdater to AtomicReferenceFieldUpdater
^KT-56046
2023-02-03 19:49:07 +00:00
Dmitrii Gridin cf713d31ef [SLC] AnnotationsProvider: replace isTheSameAs with regular equals
^KT-56046
2023-02-03 19:49:07 +00:00
Dmitrii Gridin cce933907f [AA Fe10] Kt1DescUtils: update naming
^KT-56046
2023-02-03 19:49:06 +00:00