Steven Schäfer
16a2aec296
Parcelize: Skip constructor checks when used with custom Parceler
...
See https://issuetracker.google.com/177850558
2021-12-08 11:07:10 +01:00
Steven Schäfer
58c687e42d
Parcelize: Support @IgnoreOnParcel primary constructor parameters...
...
...with default values.
See https://issuetracker.google.com/177850560
2021-12-08 11:07:10 +01:00
Ilya Goncharov
00289d3514
rra/ilgonmic/exported-bridges-2
...
[JS IR] Use js name for signature
[JS] bridgeSavingExport only for JS IR
[JS IR] Fix test
[JS IR] Stable and non stable signatures
[JS IR] Consider return type in js signature and erase for JS name signature
[JS IR] Copy signature from wasm to JS and export bridge, not original
Merge-request: KT-MR-5174
2021-12-08 08:30:14 +00:00
Ilya Goncharov
0c74376cc4
rra/ilgonmic/after-test-promise
...
[JS] Node downloading for js ir integration kotlin test
[JS] Fix API of Promise
[JS IR] Promise symbol as lazy2
[JS] Support legacy compiler aftertest with promises
[JS IR] Generate finally for promised tests
[JS] Setup it tests for JS IR kotlin-test
Merge-request: KT-MR-5168
^KT-49738 fixed
2021-12-08 08:22:53 +00:00
Mikhael Bogdanov
bdeae7668e
JvmDefault. Support 'JvmDefaultWithCompatibility' annotation in old backend
...
#KT-48217
2021-12-08 06:27:57 +00:00
Alexander Udalov
1471602c9f
JVM IR: do not optimize properties with -Xno-optimized-callable-references
...
#KT-50019 Fixed
2021-12-08 03:15:49 +01:00
Ilmir Usmanov
f47a3a3d1c
Minor. Regenerate tests
2021-12-08 00:11:55 +01:00
Ilmir Usmanov
f95cba0ec3
Support delegation by interface for inline classes in FIR
...
#KT-27435 Fixed
2021-12-08 00:11:55 +01:00
Ilmir Usmanov
bb53ba4a2e
Enable delegation by interface for inline classes in old FE
...
#KT-27435
2021-12-08 00:11:54 +01:00
sebastian.sellmair
3002829acf
[Gradle][KPM] Rename KotlinFragmentNameDisambiguation into KotlinNameDisambiguation
2021-12-07 21:38:59 +00:00
sebastian.sellmair
2a43199287
[Gradle][KPM] Split fragment specific configurations from KotlinDependencyConfigurations
2021-12-07 21:38:59 +00:00
sebastian.sellmair
d7df56a390
[Gradle][KPM] Minor: Cleanup imports, remove unused code and add documentation
2021-12-07 21:38:59 +00:00
sebastian.sellmair
444b88e438
[Gradle][KPM] Reference Configurations directly
...
Configurations are not registered/created lazily which makes
referencing NamedDomainObjectProvider over Configurations unnecessary
for now.
2021-12-07 21:38:58 +00:00
sebastian.sellmair
032981dd83
[Gradle][KPM] Implement KotlinCompilationOutputsJarArtifactConfigurator
2021-12-07 21:38:58 +00:00
sebastian.sellmair
e8da9c007c
[Gradle][KPM] Make 'locateOrRegister' internal
2021-12-07 21:38:58 +00:00
sebastian.sellmair
6b9c73de5d
[Gradle][KPM] Implement KotlinCommonFragmentFactoryTest
2021-12-07 21:38:57 +00:00
sebastian.sellmair
8260616fe4
[Gradle][KPM] Implement KotlinGradleModuleFragmentContainerTest
2021-12-07 21:38:57 +00:00
sebastian.sellmair
60633335ef
[Gradle][KPM] Implement *VariantFactoryTests
2021-12-07 21:38:56 +00:00
sebastian.sellmair
1fb723f844
[Gradle][KPM] Split fragment factories into composable entities
...
This compasability will ensure that external target authors
(AGP) are able to reuse most of KPM code whilst allowing a lot of
customizability.
2021-12-07 21:38:56 +00:00
Mikhail Glukhikh
386e2e0950
FIR2IR: don't create separate delegate fields for constructor properties
2021-12-07 23:17:38 +03:00
Mikhail Glukhikh
f8b3eb0801
FIR: introduce helpers to get resolved reference / symbol
2021-12-07 23:17:34 +03:00
Mikhail Glukhikh
852475337b
FIR: use only most specific members when building intersection
...
In this commit we drop less concrete members in intersection.
See for example change in test data: before the commit, we intersected
all three A.foo, B.foo and C.foo in diamond hierarchy. After the commit
we drop A.foo and intersect B.foo and C.foo only.
2021-12-07 23:17:20 +03:00
Mikhail Glukhikh
a4f7bee9ad
FirTypeIntersectionScope: minor mutability refactoring
2021-12-07 23:17:15 +03:00
Yahor Berdnikau
59ec10eb9c
Pin AGP 'debug.keystore' in the repo.
...
This change adds shared 'debug.keystore' into the repository and
sets all the tests to use it.
Fixes issue when keystore was created by AGP 7+, but then consumed in
the test using lower versions of AGP.
^KT-45745 In Progress
2021-12-07 19:48:34 +00:00
Yahor Berdnikau
782b4f64be
Apply default pluginManagement in settings for old test setup.
...
Cleanup non-required configuration in test projects settings.
^KT-45745 In Progress
2021-12-07 19:48:34 +00:00
Yahor Berdnikau
40489e9b8d
Support modifying 'setting.gradle.kts' as well.
...
Test dsl will update 'settings.gradle.kts' with required plugin
management block.
^KT-45745 In Progress
2021-12-07 19:48:33 +00:00
Igor Yakovlev
ea060dcf8a
[WASM] Implement lazy with UnsafeLazyImpl
2021-12-07 21:33:34 +03:00
Igor Yakovlev
d55e16a030
[WASM] Regex std implementation
2021-12-07 21:33:31 +03:00
Igor Yakovlev
4f9b54da26
[WASM] Remove ignore from wasm std text tests
2021-12-07 21:33:28 +03:00
Igor Yakovlev
86daff8ae8
[WASM] Fix invalid exception type for IOOB array access
2021-12-07 21:33:24 +03:00
Igor Yakovlev
2e78a1cd90
[WASM] Fix invalid string literal encoding
2021-12-07 21:33:21 +03:00
Igor Yakovlev
34c6abe0bd
[WASM] Add Long.toString(radix) implementation
2021-12-07 21:33:14 +03:00
Igor Yakovlev
73ca478fbd
[WASM] Add string to double conversion to Stdlib
...
This version is not completely correct - there is some IEEE rouding issue that, apparently, require to implement different algorithm with BigIntegers implementation.
2021-12-07 21:33:07 +03:00
Igor Yakovlev
9408499da9
[WASM] Add std text implementations
2021-12-07 21:32:59 +03:00
sebastian.sellmair
1b4f519701
[Gradle][KPM] Add missing OptIn(InternalIdeApi::class)
2021-12-07 17:53:23 +00:00
sebastian.sellmair
493824aee7
Minor: kotlin-gradle-plugin/build.gradle.kts: Optimise imports
2021-12-07 17:53:23 +00:00
sebastian.sellmair
5b6180ba58
[Gradle][KPM] Implement AbstractIdeFragmentDependenciesTest
...
- Split IdeFragmentDependencyResolverTest into
- KpmProjectToKpmProjectIdeFragmentDependenciesTest
- KpmProjectToMppProjectIdeFragmentDependenciesTest
- Implement secondary constructor for SourceLocalIdeFragmentDependency
2021-12-07 17:53:22 +00:00
sebastian.sellmair
6129d920c7
[Gradle][KPM] Implement IdeFragmentDependency(&Resolver)
...
This apis are expected to be called reflectively during
Gradle/Ide import of KPM projects.
2021-12-07 17:53:22 +00:00
sebastian.sellmair
00ed41a81e
[Gradle][KPM] Implement FragmentGranularMetadataResolverFactory
...
The logic is intended to be reused in ide import related logic
2021-12-07 17:53:21 +00:00
sebastian.sellmair
ea698838dd
[Gradle][KPM] Minor: Reuse logic in common toModuleIdentifier function
2021-12-07 17:53:21 +00:00
sebastian.sellmair
66521de4e2
[Gradle][KPM] Minor: FragmentGranularMetadataResolver rename 'metadataExtractor'
...
This renaming shall disambiguate the projectStructureMetadataExtractor
from the 'metadataProvider'
2021-12-07 17:53:21 +00:00
Victor Petukhov
7475d26902
[FE 1.0] Implement checker to detect changed resolve for progressions and ranges due to the start of implementing Collection<T>
...
^KT-49276 Fixed
2021-12-07 18:48:27 +03:00
Victor Petukhov
4363667bc1
Move range utils into common compiler part
2021-12-07 18:48:26 +03:00
Dmitry Petrov
100d7123c2
JVM_IR KT-50078 fix for-in-array loop bytecode shape
2021-12-07 17:41:59 +03:00
Dmitry Petrov
256aaa3388
Minor: extract *LoopHeader classes to separate files
2021-12-07 17:41:58 +03:00
Dmitriy Novozhilov
77fd42eb27
Advance bootstrap to 1.6.20-dev-6519
2021-12-07 15:49:09 +03:00
Leonid Startsev
767c570af4
Load default values for annotation members from classfiles
...
so that defaults are available to synthetic implementations.
#KT-48181 Fixed
Implementation is for JVM IR; other backends & FIR need to be supported
separately.
2021-12-07 10:10:04 +00:00
Dmitriy Novozhilov
e8868a2eff
[Test] Regenerate tests
2021-12-07 13:06:50 +03:00
Victor Petukhov
ce2c6f5d1f
[FE 1.0] Don't mark type variable as READY_FOR_FIXATION_DECLARED_UPPER_BOUND_WITH_SELF_TYPES if it has complex dependency to other type variables
...
^KT-49838 Fixed
2021-12-07 11:41:13 +03:00
Victor Petukhov
61d40403e7
[FE 1.0] Create captured star projection for self types by replacing type arguments deeply
...
^KT-49752 Fixed
2021-12-07 11:38:45 +03:00