Anton Bannykh
106d3c4c9c
[JS IR] minor: eliminate obsolete namer creation
2021-12-22 10:14:08 +03:00
Anton Bannykh
aa628ae7b3
[JS IR] tests both per-module and regular mode
2021-12-22 10:14:08 +03:00
Anton Bannykh
95b5c44fba
[JS IR] IC: emit source maps
2021-12-22 10:13:07 +03:00
Anton Bannykh
4d8926cf26
[JS IR] IC: support per-module layout
2021-12-22 10:13:07 +03:00
Anton Bannykh
434c23a343
[JS IR] IC: avoid conflicts in local declaration signatures
2021-12-22 10:13:07 +03:00
Anton Bannykh
670572bbc6
[JS IR] IC: test private declarations with same names
2021-12-22 10:13:07 +03:00
Anton Bannykh
9b47a321d5
[JS IR] assert there are no clashing declarations
2021-12-22 10:13:07 +03:00
Anton Bannykh
175d722097
[JS IR] save JsIrProgramFragment definitions
2021-12-22 10:13:07 +03:00
Dmitry Petrov
915e949dbc
JVM KT-49092 fix stack corruption in redundant boxing elimination
2021-12-22 05:32:26 +00:00
Xin Wang
c74453d8d2
JVM_IR KT-48987 handle star projection arguments in smart casts
2021-12-22 00:48:15 +01:00
Xin Wang
944fa7e2f8
JVM IR: recover accidentally lost backingField (KT-49998)
2021-12-22 00:35:33 +01:00
sebastian.sellmair
b6b5ecc352
[MPP] Remove unnecessary ExpectActualResolver receiver
...
^KT-50120
2021-12-21 21:31:49 +00:00
sebastian.sellmair
760c33bd43
[MPP] Fixup ExpectDeclarationsRemoving after changes to ExpectActualResolver
...
^KT-50120
2021-12-21 21:31:48 +00:00
sebastian.sellmair
a4fd317f9e
[MPP][Test] Rename MULTIPLATFORM_COMPOSITE_ANALYSIS_MODE_ENABLED
...
... to ENABLE_MULTIPLATFORM_COMPOSITE_ANALYSIS_MODE
^KT-50120
2021-12-21 21:31:48 +00:00
sebastian.sellmair
3d4439a2dc
[MPP][Test] Enable 'FIR_IDENTICAL' default directive for AbstractDiagnosticsWithMultiplatformCompositeAnalysisTest
...
^KT-50120
2021-12-21 21:31:48 +00:00
sebastian.sellmair
bd303007f8
[MPP][Test] Fix style issue in MultiplatformAnalysisConfiguration
...
https://jetbrains.team/im/review/rkiO80z6BKm?message=9COoK0SQK6G&channel=1roPNU0orOwc
^KT-50120
2021-12-21 21:31:47 +00:00
sebastian.sellmair
601026fb51
[MPP][Test] Remove dangling comma in ClassicFrontendFacade
...
^KT-50120
2021-12-21 21:31:47 +00:00
sebastian.sellmair
760c496000
[MPP][Test] Enable 'SKIP_TXT' default directive for AbstractDiagnosticsWithMultiplatformCompositeAnalysisTest
...
^KT-50120
2021-12-21 21:31:46 +00:00
sebastian.sellmair
a39ff7ece7
[MPP][Test] Declare multiplatformAnalysisConfiguration as member property
...
^KT-50120
2021-12-21 21:31:46 +00:00
sebastian.sellmair
54ab133a75
[MPP][Test] Improve comments in MultiplatformAnalysisConfiguration
...
^KT-50120
2021-12-21 21:31:45 +00:00
sebastian.sellmair
ae764a3640
[MPP][Test] Include original module in 'findAllDependsOnPaths'
...
^KT-50120
2021-12-21 21:31:45 +00:00
sebastian.sellmair
2e55b82ba3
[MPP] Introduce allModulesProviding(Expects|Actuals)For filters
...
This new filters will also take care of filtering out descriptors
that are provided by 'regular' dependencies instead of 'dependsOn'
dependencies.
^KT-50120
2021-12-21 21:31:44 +00:00
sebastian.sellmair
d1ce7ae870
[MPP] Remove irrelevant declarations from constructor.kt
...
^KT-50120
2021-12-21 21:31:44 +00:00
sebastian.sellmair
381a3e7917
[MPP] Improve readability of MultiplatformDiagnosticsDirectives
...
- Improved description as suggested during code review
- Renamed MULTIPLATFORM_COMPOSITE_ANALYSIS_MODE du *_ENABLED
^KT-50120
2021-12-21 21:31:44 +00:00
sebastian.sellmair
6268852b7a
[MPP] Set .isExpect when deserializing a ClassConstructorDescriptor
...
This will fix expect/actual matching for class constructors
when dependsOn modules are deserialized.
^KT-50120 Verification Pending
2021-12-21 21:31:43 +00:00
sebastian.sellmair
e561b095f7
[MPP] Fix checkExpectedParameter using wrong ModuleFilter
...
KT-50120 Partially solved for functions.
ClassConstructors seem to be deserialized with 'isExpect=false'
which will still lead to wrong 'expect/actual matching'
2021-12-21 21:31:43 +00:00
sebastian.sellmair
017aacba44
[MPP] Add default parameter tests for ^KT-50120
2021-12-21 21:31:42 +00:00
sebastian.sellmair
3598ba1d45
[MPP][Test] Implement Diagnostics with mpp composite analysis tests
...
Using the 'MULTIPLATFORM_COMPOSITE_ANALYSIS_MODE' test directive
will add support for testing "cli metadata compilation" and
"ide analysis" _like_ configurations. In this configuration,
dependsOn modules will not be analyzed together with dependents in
the same ModuleDescriptor, but will be passed as separate 'expectedBy'
dependency descriptor.
Used to cover ^KT-50120 inside kotlin.git
2021-12-21 21:31:42 +00:00
Alexander Udalov
7771e5914d
Revert "Do not write version requirements for suspend functions"
...
This reverts commit 6807ed6642 .
The reason is that Kotlin compilers until and including version 1.6.10
have code that detects obsolete coroutines via these version
requirements (see `versionAndReleaseCoroutinesMismatch`). Since Kotlin
1.6.10 can read metadata of version 1.7, the earliest we can drop these
version requirements is Kotlin 1.8.0.
2021-12-21 20:06:07 +01:00
Ivan Kochurkin
58dfe3d804
[FIR2IR] Reify type parameters for callee reference with vararg
2021-12-21 19:10:41 +03:00
Ivan Kochurkin
ee7e04b28e
[FIR] Ignore smartcast for non-final members from Java, ^KT-50219 Fixed
2021-12-21 19:10:40 +03:00
Ivan Kochurkin
84927e10b0
[FIR] Consider Nothing? as null constant in DFA, ^KT-44561 Fixed
2021-12-21 19:10:40 +03:00
Ivan Kochurkin
68f3ab2622
[FIR] Refactor processing of equality operators in DFA
2021-12-21 19:10:39 +03:00
Ivan Kochurkin
9e55e41d8b
[FIR] Propagate non-null info for val members, ^KT-44560 Fixed
2021-12-21 19:10:38 +03:00
Ivan Kochurkin
c5a03d0573
[FIR] Remove dependent data flow variables after receiver reassignment
2021-12-21 19:10:37 +03:00
Ivan Kochurkin
1f9ea50d1a
[FIR] Rearrange arguments in VariableStorageImpl functions to make them consistent
2021-12-21 19:10:36 +03:00
Roman Golyshev
e3219cc5b6
FIR IDE: Avoid resolving elvis operator, because it doesn't make sense
...
There are intrinsics to which elvis operator's usages are resolved;
however, we do not want to expose those intrinsics through the
high-level resolve
2021-12-21 18:48:00 +03:00
Roman Artemev
702ab3408b
[JS IC TEST] Add test case about renaming file in module
2021-12-21 18:07:57 +03:00
Roman Artemev
76b9167c15
[JS IC TEST] Add test case about moving file between modules
2021-12-21 18:07:57 +03:00
Roman Artemev
9b49f0eb70
[JS IC] Support deleted files in IC cache invalidator
...
- support them in test too
2021-12-21 18:07:56 +03:00
Roman Artemev
2ace13a904
[JS IC TEST] Support deleted files list in module step
2021-12-21 18:07:56 +03:00
Roman Artemev
2dd519c91f
[JS IC TEST] Add test case for moving inline functions between modules
2021-12-21 18:07:55 +03:00
Roman Artemev
2474702bef
[JS IC TEST] Add test case for private top-level inline functions
2021-12-21 18:07:54 +03:00
konstantin.tskhovrebov
2d0fea4dcb
Set right FatFramework name inside XCFramework.
2021-12-21 18:04:49 +03:00
Yahor Berdnikau
8d195e079e
Add basic benchmarks for Duckduckgo Android application
...
^KT-49921 In Progress
2021-12-21 14:00:57 +00:00
Yahor Berdnikau
d1f6faf236
Add Gradle project to run regression benchmarks
...
This project will contain all required Gradle infrastructure to run
regression benchmark scripts.
^KT-49921 In Progress
2021-12-21 14:00:57 +00:00
Yahor Berdnikau
7418d3c898
Add build regression benchmark script template
...
This template provides all infrastructure to write Kotlin scripts for
build regression benchmarks. These benchmarks will use gradle-profiler
to run provided scenarios on user projects. All benchmark results
in the script then will be aggregated into single one showing
difference between them.
Generally such kind of benchmarks should be used to track early Gradle
build regressions between releases.
^KT-49921 In Progress
2021-12-21 14:00:56 +00:00
Dmitriy Novozhilov
8a58e98530
[FE 1.0] Support proper DUPLICATE_LABEL_IN_WHEN reporting for deprecated complex boolean expressions
...
^KT-50385
^KT-39883
2021-12-21 16:36:20 +03:00
Dmitriy Novozhilov
eb753eac83
[FE 1.0] Report DUPLICATE_LABEL_IN_WHEN on proper branches
...
^KT-50385 Fixed
2021-12-21 16:36:19 +03:00
Dmitriy Novozhilov
d9a3dd09ea
[FE 1.0] Save ModuleDescriptor in CompileTimeConstant
2021-12-21 16:36:18 +03:00