Commit Graph

95693 Commits

Author SHA1 Message Date
Sebastian Sellmair a67b2a8be5 [Gradle] Implement KotlinJvmCompilation with new underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:06 +00:00
Sebastian Sellmair 35dacd6add [Gradle] Remove KPM<->TCS Model Mapping
KT-54312
2022-10-27 09:13:05 +00:00
Sebastian Sellmair 8e2f6d0f3a [Gradle][Minor] Move CompilationDetails impls into separate package
KT-54312
2022-10-27 09:13:05 +00:00
Sebastian Sellmair 5777f4859c [Gradle][Minor] Move KotlinDependencyConfigurationsHolder into separate source file
KT-54312
2022-10-27 09:13:04 +00:00
Sebastian Sellmair 645d79d34a [Gradle][Minor] Move JsIrCompilationDetails into separate source file
KT-54312
2022-10-27 09:13:04 +00:00
Sebastian Sellmair 72e20967dd [Gradle][Minor] Move JsCompilationDetails into separate source file
KT-54312
2022-10-27 09:13:04 +00:00
Sebastian Sellmair d08bd626a6 [Gradle][Minor] Move MetadataCompilationDetails into separate source file
KT-54312
2022-10-27 09:13:03 +00:00
Sebastian Sellmair 12e4dfd5bc [Gradle][Minor] Move AndroidCompilationDetails into separate source file
KT-54312
2022-10-27 09:13:03 +00:00
Sebastian Sellmair e190f7fce5 [Gradle][Minor] Move WithJavaCompilationDetails into separate source file
KT-54312
2022-10-27 09:13:03 +00:00
Sebastian Sellmair 47fc524b84 [Gradle][Minor] Move VariantMappedCompilationDetails into separate source file
KT-54312
2022-10-27 09:13:02 +00:00
Sebastian Sellmair b7c7ce3bf5 [Gradle][Minor] Move *NativeCompilationDetails and MetadataMappedCompilationDetails into separate source files
KT-54312
2022-10-27 09:13:02 +00:00
Sebastian Sellmair 64e2e01d7d [Gradle][Minor] Move DefaultCompilationDetailsWithRuntime into separate source file
KT-54312
2022-10-27 09:13:01 +00:00
Sebastian Sellmair f75f0e647d [Gradle][Minor] Move DefaultCompilationDetails into separate source file
KT-54312
2022-10-27 09:13:01 +00:00
Sebastian Sellmair aef7512477 [Gradle][Minor] Move KotlinCompilationOutput into separate source file
KT-54312
2022-10-27 09:13:01 +00:00
Sebastian Sellmair 59a67e92bb [Gradle][Minor] Rename internal KotlinPlugin to KotlinJvmPlugin
KT-54312
2022-10-27 09:13:00 +00:00
Sebastian Sellmair bac1e3208c [Gradle][Minor] Remove unnecessary KotlinConfigurationTools class
KT-54312
2022-10-27 09:13:00 +00:00
Sebastian Sellmair 089e07827f [Gradle][Minor] Move KotlinAndroidPlugin into separate source file
KT-54312
2022-10-27 09:12:59 +00:00
Sebastian Sellmair 7725c8e200 [Gradle][Minor] Move Kotlin2JsPlugin into separate source file
KT-54312
2022-10-27 09:12:59 +00:00
Sebastian Sellmair 9cf00c6b9c [Gradle][Minor] Move KotlinCommonPlugin into separate source file
KT-54312
2022-10-27 09:12:59 +00:00
Sebastian Sellmair cd86cd7c0d [Gradle][Minor] Move AbstractKotlinPlugin into separate source file
KT-54312
2022-10-27 09:12:58 +00:00
Sebastian Sellmair e067915e90 [Gradle][Minor] Move KotlinJsIrSourceSetProcessor into separate source file
KT-54312
2022-10-27 09:12:58 +00:00
Sebastian Sellmair 4fe12d7704 [Gradle][Minor] Move KotlinJsIrSourceSetProcessor into separate source file
KT-54312
2022-10-27 09:12:58 +00:00
Sebastian Sellmair 090951afd7 [Gradle][Minor] Move Kotlin2JsSourceSetProcessor into separate source file
KT-54312
2022-10-27 09:12:57 +00:00
Sebastian Sellmair b5327bc46e [Gradle][Minor] Move Kotlin2JvmSourceSetProcessor into separate source file
KT-54312
2022-10-27 09:12:57 +00:00
Sebastian Sellmair 10ca5d7f2a [Gradle][Minor] Move KotlinSourceSetProcessor into separate source file
KT-54312
2022-10-27 09:12:56 +00:00
Sebastian Sellmair 712abe5763 [Gradle][Minor] Move KotlinCompilationProcessor into separate source file
KT-54312
2022-10-27 09:12:56 +00:00
Sebastian Sellmair d6e95c6b16 [Gradle][Minor] Move and rename Project.ifKaptEnabled
KT-54312
2022-10-27 09:12:56 +00:00
Sebastian Sellmair 1d397b1c3b [Gradle][Minor] Move, deduplicate and rename Project.forEachVariant
KT-54312
2022-10-27 09:12:55 +00:00
Sebastian Sellmair 4d8fbc1feb [Gradle][Minor] Move KotlinOnlyTarget into separate source file
KT-54312
2022-10-27 09:12:55 +00:00
Sebastian Sellmair 9d4263caf5 [Gradle][Minor] Rename kotlinTargets.kt to AbstractKotlinTarget.kt
KT-54312
2022-10-27 09:12:55 +00:00
Sebastian Sellmair 42009431d1 [kotlin-tooling-core] linearClosure & withLinearClosure: Support loops
KT-54312
2022-10-27 09:12:54 +00:00
Jinseong Jeon 8016225519 ULC: make file/class names match 2022-10-27 10:36:40 +02:00
pyos b23de16b06 FIR Parcelize: register the error message factory 2022-10-27 10:19:21 +03:00
pyos 8c1ff1c9ae FIR: fix error message for NON_PUBLIC_CALL_FROM_PUBLIC_INLINE 2022-10-27 10:19:21 +03:00
aleksandrina-streltsova 29502ba126 [Analysis API FIR] add check for public api 2022-10-27 06:22:37 +00:00
aleksandrina-streltsova 34d695cc72 Move config to CommonCompilerModules 2022-10-27 06:22:37 +00:00
Ilya Kirillov 7766362ff1 [Analysis API] render full symbol in generatedPrimaryConstructorProperty in DebugSymbolRenderer 2022-10-26 19:19:04 +00:00
Ilya Kirillov e2416f48fe [Analysis API] add tests for containing declaration for delegated member scope 2022-10-26 19:19:04 +00:00
Ilya Kirillov f5432127d1 [Analysis API FE1.0] fix containing module for some cases 2022-10-26 19:19:03 +00:00
Ilya Kirillov 59beeb36be [Analysis API FE1.0] fix "descriptor not found" exception on getting dispatch receiver type 2022-10-26 19:19:03 +00:00
Ilya Kirillov 4bb32f4634 [Analysis API] render extra debug information for nested symbols if renders for outers 2022-10-26 19:19:02 +00:00
Ilya Kirillov 85effcc1b3 [Analysis API] do not fully print property symbols in tests 2022-10-26 19:19:02 +00:00
Ilya Kirillov 3bc19fa2c7 [Analysis API] change return type of KtScope.getAllSymbols to KtDeclaration symbol as it always returns callable or classifier 2022-10-26 19:19:02 +00:00
Ilya Kirillov 98e665a652 [Analysis API] fix symbol kind for KtTypeAliasSymbol
they can be non-toplevel
2022-10-26 19:19:01 +00:00
Ilya Kirillov 3ea29e42b9 [Analysis API] consider KtClassInitializerSymbol to be KtDeclarationSymbol 2022-10-26 19:19:01 +00:00
Ilya Kirillov 97df0a0902 [Analysis API] rework containing declaration provider
now it should work for non-source declarations
2022-10-26 19:19:00 +00:00
Simon Ogorodnik 2cf8f75a90 KT-53255. Fix StackOverflow during IR verification from K2
In FIR we desugar when with multiple conditions leading to same block
as tree of OR expressions

Given
```
when(some) {
  "a", "b", "c" -> {}
  else -> {}
}
```

actually desugared into
```
when(val <subj> = some) {
  <subj> == "a" || <subj> == "b" || <subj> == "c" -> {}
  else -> {}
}
```

There is a multiple ways of how we can organize such expressions in FIR
Previously it was just nesting-chain of OR expressions

While the most efficient way in terms of required stack depth is
a balanced tree

KT-53255
2022-10-26 17:44:46 +00:00
Simon Ogorodnik ac8cae16ba KT-53255. Extend test for long when expression 2022-10-26 17:44:46 +00:00
Pavel Punegov 877f83b9d9 [K/N][test] Update test to use release versions of builds
Test uses dev and eap builds that could be removed one day.
2022-10-26 16:29:44 +00:00
Pavel Punegov 2d8035ba9f [K/N][build] Add test for intellij-deps-fastutil and openapi
Test that jars in the distribution contain desired libraries
2022-10-26 15:36:49 +00:00