sebastian.sellmair
d7445dc59c
Revert "[MPP][Test] MPPCompositeMode: Include transitive dependsOn dependencies"
...
This reverts commit a6bc8807e5 .
2021-12-22 17:22:13 +01:00
sebastian.sellmair
a6bc8807e5
[MPP][Test] MPPCompositeMode: Include transitive dependsOn dependencies
...
^KT-50156
2021-12-22 16:01:37 +00:00
sebastian.sellmair
8880ea1c16
[MPP] Improve performance of ExpectedActualDeclarationChecker.kt
...
^KT-50156 Verification Pending
2021-12-22 16:01:37 +00:00
Vyacheslav Gerasimov
03a3e7c68e
Build: Workaround java-rt loading into Gradle daemon
...
Fixes IDEA diff for tests not showing diff transfer buttons in the
"Click to see difference" window for a failed test
2021-12-22 16:23:08 +03:00
Dmitriy Novozhilov
d7c7d1efd2
Advance bootstrap to 1.6.20-dev-7317
2021-12-22 16:00:31 +03:00
Ilya Goncharov
0b871d7534
[IR] Be ready if message of CompilationException throw exception
2021-12-22 10:50:36 +00:00
Pavel Punegov
d13f6744a6
[Native] Improve skipped and filed tests reporting in GTestLogger
...
List skipped tests appropriately like the GTest does
2021-12-22 10:11:36 +00:00
Anton Bannykh
0274192241
[JS] shorten the paths
...
Otherwise test path lengths exceed 255 limit on Windows
2021-12-22 10:14:33 +03:00
Anton Bannykh
4c33cb8016
[JS IR] IC: support per-module in K2JsIrCompiler
2021-12-22 10:14:33 +03:00
Anton Bannykh
ca60caa7e9
[JS IR] IC: pass through the main args
2021-12-22 10:14:32 +03:00
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