Commit Graph

91393 Commits

Author SHA1 Message Date
Dmitriy Novozhilov 74d36634bf [Build] Add renderDiagnosticNames property to kotlin build gradle plugin 2022-02-18 17:44:43 +03:00
Dmitriy Novozhilov baf300a815 [StdLib] Suppress INVISIBLE_REFERENCE alongside with INVISIBLE_MEMBER
This is needed to successful compilation of stdlib with FIR compiler
2022-02-18 17:44:43 +03:00
Dmitriy Novozhilov aef752a8cb [StdLib] Add -Xbuiltins-from-sources to arguments of stdlib for JVM
This flag is needed to successful compilation of stdlib with FIR compiler
2022-02-18 17:44:42 +03:00
Dmitriy Novozhilov a1fb4d3990 [FIR2IR] Add signature of class to error message if symbol is already bound 2022-02-18 17:44:42 +03:00
Dmitriy Novozhilov c116565c0e [FIR] Allow named arguments for calls of expect functions 2022-02-18 17:44:41 +03:00
Dmitriy Novozhilov 44bfb6fde8 [FIR] Don't register FirJavaElementFinder for common session 2022-02-18 17:44:40 +03:00
Dmitriy Novozhilov b47cc86c57 [FIR] Fix incorrect context usages with withSuppressedDiagnostics call 2022-02-18 17:44:40 +03:00
Dmitriy Novozhilov ccb74b6477 [FIR] Fix computing compatibility of expect and actual modality 2022-02-18 17:44:39 +03:00
Dmitriy Novozhilov e1d21d7a37 [Test] Enable MultiPlatformProjects in multiplatform tests by default 2022-02-18 17:44:39 +03:00
Dmitriy Novozhilov 23af5510a6 [FIR] Render full declaration header in diagnostic messages 2022-02-18 17:44:38 +03:00
Dmitriy Novozhilov 2fa6425965 [LL] Add proper equals and hashCode for KtModuleBasedModuleData 2022-02-18 17:44:37 +03:00
Dmitriy Novozhilov 851305f981 [FIR] Allow smartcasts on member properties for classes from dependsOn dependencies 2022-02-18 17:44:37 +03:00
Dmitriy Novozhilov aeb68f956c [FIR] Turn LEAKED_IN_PLACE_LAMBDA into a warning 2022-02-18 17:44:36 +03:00
Dmitriy Novozhilov 6105271d41 [FIR] Make internal declarations from dependsOn dependent modules visible 2022-02-18 17:44:36 +03:00
Dmitriy Novozhilov ab1ff7baf5 [FIR] Prioritize source dependencies in dependency provider 2022-02-18 17:44:35 +03:00
Yahor Berdnikau 283ba353e7 Remove useless cast in jvm toolchain scripts 2022-02-18 15:40:35 +01:00
Anastasia.Shadrina 4b366ddcf6 [BE JVM] KT-51271 Set proper indices generating contextual inline call
[Tests] Test inline call with context receivers and default params
2022-02-18 15:55:43 +03:00
Dmitry Gridin dc210fa6ef [light classes] KtUltraLightParameterForSetterParameter: simplify equals
^KTIJ-21151
2022-02-18 17:41:05 +07:00
Dmitry Gridin 30b7c4689b [light classes] KtUltraLightParameterForDescriptor: fix descriptor leak
^KTIJ-21151
2022-02-18 17:41:05 +07:00
Anastasia.Shadrina 4bc7b0c366 [BE JVM] KT-51352 Do not mix extension and context receivers in suspends 2022-02-18 13:39:36 +03:00
Dmitry Gridin 47f0a84c7a [light classes] fix equals for parameters
UltraLightClassLoadingTestGenerated.testConstructors
SafeDeleteTestGenerated$KotlinValueParameterWithJava

^KTIJ-21151
2022-02-18 16:29:24 +07:00
Ilmir Usmanov 28b60d7e61 Add another flavor to android tests 2022-02-18 08:50:25 +00:00
Dmitriy Novozhilov 8993d5d2eb [Build] Detach :liraries:tools:dukat module from root gradle project
This is needed to prevent leaking dependency on `dukat:0.5.8-rc.4` into
  dependency of Kotlin project after import to IDE. This jar contains
  unshaded classes of some outdated compiler version and it confuses
  IDEA tooling (like debugger), so it shows those classes instead of
  real sources from project
2022-02-18 07:30:50 +00:00
Andrey Uskov 4bd61c75d0 Fixed collection of performance metrics if file output is not enabled 2022-02-18 10:11:28 +03:00
sebastian.sellmair 5ef90b4279 [KPM] kotlin-gradle-plugin-idea: bump minimalBackwardsCompatibleVersion
KT-51262
KT-51220
2022-02-17 20:19:34 +00:00
sebastian.sellmair 06625f63df [KPM] Mark IdeaKotlinFragmentDependencyImpl.Companion as internal
KT-51262
KT-51220
2022-02-17 20:19:33 +00:00
sebastian.sellmair 592be6c8b5 [KPM] Remove kotlinScripting.xml
KT-51262
KT-51220
2022-02-17 20:19:33 +00:00
sebastian.sellmair 21d6c11bbb [KPM] Implement test to check if data classes are marked as internal
KT-51262
KT-51220
2022-02-17 20:19:32 +00:00
sebastian.sellmair fa13e38e91 [KPM] Reformat IdeaKotlinProjectModelObjectGraphTest
KT-51262
KT-51220
2022-02-17 20:19:32 +00:00
sebastian.sellmair 18d3854097 [KPM] Implement IdeaKotlinProjectModelObjectGraphTest
KT-51262
KT-51220
2022-02-17 20:19:32 +00:00
sebastian.sellmair 7a2eaa5101 [KPM] IdeaKotlinVariantImpl: Set serialVersionUID to 0
KT-51262
KT-51220
2022-02-17 20:19:31 +00:00
sebastian.sellmair 669c23dbb6 [KPM] Implement test - empty containers are equal
KT-51262
KT-51220
2022-02-17 20:19:31 +00:00
sebastian.sellmair 522915b6dc [KPM] kotlin-gradle-plugin-idea: Remove deepCopy functions
KT-51262
KT-51220
2022-02-17 20:19:30 +00:00
sebastian.sellmair 63578b701f [KPM] WIP deepCopy
KT-51262
KT-51220
2022-02-17 20:19:30 +00:00
sebastian.sellmair c56bf6b0e3 [KPM] IdeaKotlinFragment: Add moduleIdentifier
KT-51262
KT-51220
2022-02-17 20:19:29 +00:00
sebastian.sellmair ed1036a358 [KPM] Remove unused toKotlinIdeaVariant function
KT-51262
KT-51220
2022-02-17 20:19:29 +00:00
sebastian.sellmair 2f7310e9df [KPM] Share kgp-idea binary compatibility test run configuration
KT-51262
KT-51220
2022-02-17 20:19:29 +00:00
sebastian.sellmair e3c7d4ee21 Generally trust :kotlin-gradle-plugin-idea dependency
KT-51262
KT-51220
2022-02-17 20:19:28 +00:00
sebastian.sellmair 05259ddfa1 [KPM] Move Idea* models to Set/List over Collection
KT-51262
KT-51220
2022-02-17 20:19:28 +00:00
sebastian.sellmair 11d408f71e [KPM] Implement IdeaKotlinVariant
KT-51262
KT-51220
2022-02-17 20:19:27 +00:00
sebastian.sellmair 851303e62a [KPM] Make KotlinSerializableExternalModelSerializer private
KT-51262
KT-51220
2022-02-17 20:19:27 +00:00
sebastian.sellmair fc8d991058 [KPM] KotlinExternalModelId: Make type private
KT-51262
KT-51220
2022-02-17 20:19:27 +00:00
sebastian.sellmair 17c6274bf0 [KPM] kotlin-gradle-plugin-idea: bump minimalBackwardsCompatibleVersion
KT-51262
KT-51220
2022-02-17 20:19:26 +00:00
sebastian.sellmair 06b2f83774 [KPM] kotlin-gradle-plugin-idea: Improve testing with snapshots
KT-51262
KT-51220
2022-02-17 20:19:26 +00:00
sebastian.sellmair 969222c372 [KPM] kotlin-gradle-plugin: Remove default optIn for ExternalVariantApi
KT-51262
KT-51220
2022-02-17 20:19:25 +00:00
sebastian.sellmair 4371f0fad9 [KPM] kotlin-gradle-plugin-idea: bump minimalBackwardsCompatibleVersion
KT-51262
KT-51220
2022-02-17 20:19:25 +00:00
sebastian.sellmair 8a2b6f7884 [KPM] KotlinExternalModelContainerImpl: Fix corrupt container after access without deserializer
KT-51262
KT-51220
2022-02-17 20:19:24 +00:00
sebastian.sellmair 8269104b86 [KPM] Share convenient run configurations for testing KGP/KGP-idea
KT-51262
KT-51220
2022-02-17 20:19:24 +00:00
sebastian.sellmair 82ec54aead [KPM] kotlin-gradle-plugin-idea: Implement -Psnapshot property
When set, the backwards compatibility test will run against
a locally installed snapshot version

KT-51262
KT-51220
2022-02-17 20:19:24 +00:00
sebastian.sellmair 5ad1292b67 [KPM] IdeaKotlinProjectModel: Add gradlePluginVersion
KT-51262
KT-51220
2022-02-17 20:19:23 +00:00