Commit Graph

95686 Commits

Author SHA1 Message Date
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
Pavel Punegov 59d9da05fe [K/N][build] Add intellij-deps-fastutil dependency explicitly
Fastutil is required by the CLICompiler.
compilerApi dependencies are used to create shadow jar kotlin-native.jar
2022-10-26 15:36:48 +00:00
Yahor Berdnikau a7e1d36528 Drop compileOnly dependency on :kotlin-gradle-compiler-types in compiler
This dependency was only required for compiler options Gradle DSL
generation, but was leaking into runtime not-accessible classes.

^KT-54602 Fixed
2022-10-26 16:32:36 +02:00
Troels Bjerre Lund 80b50bcd21 [K/N] Improve performance benchmark build
This unlinks the benchmarksAnalyzer build from being configured automatically
whenever any benchmark build is.

Co-authored-by: Troels Lund <troels@google.com>
2022-10-26 13:02:24 +00:00
mvicsokolova 6a4e9f1d0f Atomicfu JVM IR: fixed visibility modifiers of generated declarations, should be private.
Fix for: https://github.com/Kotlin/kotlinx-atomicfu/issues/258
2022-10-26 12:59:25 +00:00
Ilya Goncharov fd5fba6f09 [JS IR] Fix case with bridge with nested classes
^KT-54686 fixed
2022-10-26 12:56:03 +00:00
Alexander Korepanov 2e48557a0d [JS IR] Update hashing in IC infrastructure
The patch should reduce possible collisions
2022-10-26 10:54:37 +00:00
Alexander Korepanov e2922219f2 [JS IR] Add more JS IC tests for top level properties 2022-10-26 10:54:36 +00:00