Pavel Mikhailovskii
fe5a6fd511
Disallow non-local break/continue in crossinline lambdas
2022-09-12 13:26:19 +00:00
Svyatoslav Scherbina
79885c770d
Bump Kotlin/Native version to 1.8.0-dev-3049
2022-09-12 12:56:38 +00:00
Ilya Muradyan
551a481dc5
[Scripting] Add partial transitive resolution to Maven resolver
2022-09-12 14:11:04 +02:00
Dmitriy Novozhilov
a78d43c1ec
[Lombok] Support RawTypes in fields wtih @Singular in K2 version
...
^KT-53657 Fixed
2022-09-12 11:29:17 +00:00
Dmitriy Novozhilov
06119a4670
[Lombok] Fix support of Iterable field marked with @Singular
...
^KT-53647 Fixed
2022-09-12 11:29:17 +00:00
Dmitriy Novozhilov
4ab79ed97d
[Lombok] Fix behavior of ignoreNullCollections parameter of @Singular
...
^KT-53724 Fixed
^KT-53721 Fixed
2022-09-12 11:29:16 +00:00
Dmitriy Novozhilov
2aadaee69f
[Lombok] Properly support Guava collections with @Singular
...
^KT-53683 Fixed
2022-09-12 11:29:16 +00:00
Dmitriy Novozhilov
69a857649f
[Build] Exclude :tools:kotlin-project-model-tests-generator from JPS build
2022-09-12 11:29:15 +00:00
Anton Lakotka
8acc6c9093
[Gradle][MPP] Mark sourceSet field as transient in CInteropMetadataDependencyTransformationTask
...
^KT-52726 Verification Pending
2022-09-12 10:58:47 +00:00
Sebastian Sellmair
a914750108
[Gradle][MPP] Fix MetadataMappedCompilationDetails.compilation using wrong name for compilation
...
^KT-52726 Verification Pending
2022-09-12 10:58:47 +00:00
Sebastian Sellmair
60723bd59f
[Gradle][MPP][Minor] KotlinTargetConfigurator: Use Callable instead of lambda
...
^KT-52726 Verification Pending
2022-09-12 10:58:47 +00:00
Sebastian Sellmair
7fae9a1b73
[Gradle][MPP] Remove AbstractKotlinTargetConfigurator.createDefaultSourceSets
...
^KT-52726 Verification Pending
2022-09-12 10:58:47 +00:00
Sebastian Sellmair
67fc4f0ed6
[Gradle][MPP] Replace .kotlinSourceSetsIncludingDefault with .kotlinSourceSets
...
^KT-52726 Verification Pending
^KT-45412 Verification Pending
2022-09-12 10:58:46 +00:00
Sebastian Sellmair
f4eba62f8c
[Gradle][MPP] Ensure presence of .defaultSourceSet when creating kotlinCompilations
...
This will finally make calls to KotlinCompilation.defaultSourceSet
or sourceSets.getByName(compilation.defaultSourceSetName) safe.
This will also enable removing the `kotlinSourceSetsIncludingDefault`
pitfall
^KT-52726 Verification Pending
2022-09-12 10:58:46 +00:00
Sebastian Sellmair
5f085f0448
[Gradle][MPP] Move KotlinCompilationsModuleGroupsTest into functionalTest
...
^KT-52726 Verification Pending
2022-09-12 10:58:46 +00:00
Sebastian Sellmair
8bff1dee37
[Gradle][MPP] Move SourceSetVisibilityInferenceTest into functionalTest
...
^KT-52726 Verification Pending
2022-09-12 10:58:46 +00:00
Sebastian Sellmair
ea483c01fe
[Gradle][MPP] Replace InternalKotlinSourceSet.addCompilation by exposing mutable .compilations
...
This requires to make MutableObservableSet public as well, since
public implementations will inherit. The MutableObservableSet
therefore move its implementation to an internal
MutableObservableSetImpl
^KT-52726 Verification Pending
2022-09-12 10:58:46 +00:00
Sebastian Sellmair
84a22256f9
[Gradle][MPP] AbstractCompilationDetails.source: Return early if source was already added
...
^KT-52726 Verification Pending
2022-09-12 10:58:45 +00:00
Sebastian Sellmair
0b9c5b1cf0
[Gradle][MPP] CompilationDetails: Rename kotlinSourceSetsClosure to allKotlinSourceSets
...
^KT-52726 Verification Pending
2022-09-12 10:58:45 +00:00
Sebastian Sellmair
0f5a298689
[Gradle][MPP] InternalKotlinSourceSet: Provide class information on casting failure
...
^KT-52726 Verification Pending
2022-09-12 10:58:45 +00:00
Sebastian Sellmair
63232b1849
[Gradle][MPP] Implement assertAllImplementationsAlsoImplement assertion function
...
^KT-52726 Verification Pending
2022-09-12 10:58:45 +00:00
Sebastian Sellmair
134ed4bae1
[Gradle][MPP] ObservableSet.addAll: Incrementally add elements and invoke listeners
...
^KT-52726 Verification Pending
2022-09-12 10:58:44 +00:00
Sebastian Sellmair
74b2285877
[Gradle][MPP] Implement additional InternalKotlinSourceSetTests
...
.. for withDependsOnClosure and compilations
^KT-52726 Verification Pending
2022-09-12 10:58:44 +00:00
Sebastian Sellmair
a0d350fad4
[Gradle][MPP] ObservableSet: Implement equals/hashCode/toString
...
^KT-52726 Verification Pending
2022-09-12 10:58:44 +00:00
Sebastian Sellmair
dc8a6b8def
[Gradle][MPP] Replace slow CompilationSourceSetUtil with InternalKotlinSourceSet api
...
^KT-52726 Verification Pending
2022-09-12 10:58:44 +00:00
Sebastian Sellmair
0e6a074c9c
[Gradle][MPP] Implement InternalKotlinSourceSet.compilations
...
This property can later be used to replace the slow
compilationsBySourceSet util.
KT-52726
2022-09-12 10:58:43 +00:00
Sebastian Sellmair
5a4f73be50
[Gradle][MPP] Implement InternalKotlinCompilation and make .kotlinSourceSets and .allKotlinSourceSets observable
...
The effect of this changes are twofold:
1) Maintaining the 'allKotlinSourceSets' closure
makes access to this field cheaper
2) The observability of changes in the kotlinSourceSets
will allow implementing a faster compilationsBySourceSet util
KT-52726
2022-09-12 10:58:43 +00:00
Sebastian Sellmair
1d41a1cde7
[Gradle][MPP][Minor] kotlinCompilations.kt: Extract abstract classes into separate files
...
This shall increase readability and maintainablity.
KT-52726
2022-09-12 10:58:43 +00:00
Sebastian Sellmair
1c52f7c13b
[Gradle][MPP][Minor] kotlinCompilations.kt: Remove unused 'composeName'
...
KT-52726
2022-09-12 10:58:43 +00:00
Sebastian Sellmair
5f924518af
[Gradle][MPP] CompilationDetails.source: Use .forAll over 'whenEvaluated'
...
KT-52726
2022-09-12 10:58:42 +00:00
Sebastian Sellmair
c6e9216663
[Gradle][MPP] Replace KotlinSourceSet closure extensions w/ InternalKotlinSourceSet API
...
KT-52726
2022-09-12 10:58:42 +00:00
Sebastian Sellmair
d19aea36e5
[Gradle][MPP] Implement InternalKotlinSourceSet with observable dependsOn
...
This is used twofold:
1) The dependsOnClosure and withDependsOnClosure can be accessed
w/o any additional overhead
2) This can later be used to maintain caches for a
replacement of the slow compilationsBySourceSet util
KT-52726
2022-09-12 10:58:42 +00:00
Mikhail Glukhikh
b19832ef9a
K1: modify error message of ENUM_DECLARING_CLASS_DEPRECATED
...
Related to KT-53805
2022-09-12 10:45:23 +00:00
Mikhail Glukhikh
769a2ca9b1
K1: report ENUM_DECLARING_CLASS_DEPRECATED on enum entry properly
...
#KT-53807 Fixed
2022-09-12 10:45:23 +00:00
Leonid Startsev
62f67e46fd
Add SerializerFactory supertype for Native & JS in FIR serialization plugin.
...
This supertype is intended to be used with @AssociatedObject on platforms
where reflection possibilities are limited.
2022-09-12 10:19:39 +00:00
Abduqodiri Qurbonzoda
b388c7503b
Advance Int/Long/Double.units deprecation level to ERROR #KT-53864
2022-09-11 23:49:07 +03:00
Abduqodiri Qurbonzoda
89b5ce1ed7
Advance Duration.toLongUnits() deprecation level to ERROR #KT-53864
2022-09-11 23:49:07 +03:00
Abduqodiri Qurbonzoda
b1300332ee
Advance Duration.inUnits deprecation level to ERROR #KT-53864
2022-09-11 23:49:06 +03:00
Abduqodiri Qurbonzoda
0b4ceb0897
Advance Duration.units(value) deprecation level to ERROR #KT-53864
2022-09-11 23:49:06 +03:00
Abduqodiri Qurbonzoda
7060811c8b
Remove the brittle contains optimization code #KT-47707
2022-09-11 10:54:37 +00:00
Dmitry Gridin
51fd2af6fd
[lc] decompiled: update debug info
...
^KTIJ-22722
2022-09-10 21:37:47 +02:00
Alexander Udalov
ed6fe15e07
Support serialization of builtins with ExperimentalStdlibApi
...
This will allow to remove OptIn and ExperimentalStdlibApi from
serialized builtins after bootstrap.
#KT-53073
2022-09-09 21:31:39 +02:00
Alexander Udalov
686cd82327
Serialize OptIn to builtins, improve tests
...
Skip SOURCE-retention annotations in builtins serialization tests,
because otherwise the source analysis result can't be equal to the
metadata deserialization result.
#KT-53073 Fixed
2022-09-09 21:31:39 +02:00
Roman Golyshev
3f6742916a
Increment stub binary version due to externalId change
...
Follow-up to e0c2813a37
2022-09-09 18:48:30 +02:00
Mikhail Glukhikh
393e99fa44
FE: don't run overload-by-lambda-return-type with unsuccessful candidates
...
Related to KT-52927
2022-09-09 16:12:24 +00:00
Vladimir Sukharev
046f0ad95d
Adjust test kt53119_append_generated.kt to changes in KT-53864
...
Merge-request: KT-MR-7080
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-09-09 14:42:11 +00:00
Jinseong Jeon
68519af97a
AA: add tests about platform types
...
...as declaration return type or expression type
2022-09-09 15:02:23 +02:00
Vladimir Sukharev
c8864369fd
Use main class as test generator name
...
Merge-request: KT-MR-7031
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-09-09 12:51:18 +00:00
Jinseong Jeon
b9501e7452
SLC: suppress final on interface functions
...
even bridges to functions in companion object
2022-09-09 14:47:10 +02:00
Mikhail Glukhikh
e02fd8f4a8
FE: don't run builder inference in UNTIL_FIRST_LAMBDA mode
...
#KT-52927 Fixed
2022-09-09 12:44:39 +00:00