Mikhail Glukhikh
3f02309dad
FIR: add example 2 from KT-49925 (fails yet)
2021-12-23 17:27:59 +03:00
Mikhail Glukhikh
dde4c46df7
FIR: add original test from KT-49925 (passes)
2021-12-23 17:27:56 +03:00
Victor Petukhov
0689d74353
[Compiler CLI] Use LanguageVersion.LATEST_STABLE instead of KotlinVersion.CURRENT for java type enhancement settings to prevent dependency on kotlin version.
2021-12-23 13:42:58 +03:00
Victor Petukhov
2c51799e0a
Revert "Temporary workaround for failing tests on teamcity."
...
This reverts commit 2436ca3d8b .
2021-12-23 13:42:56 +03:00
sebastian.sellmair
ba201a249e
[MPP] allModulesProvidingActualsFor: Support non-hmpp ide case
...
^KT-50156
2021-12-23 08:57:54 +00:00
sebastian.sellmair
429e1dad9f
[MPP][Test] MPPCompositeMode: Include transitive dependsOn dependencies
...
^KT-50156
(cherry picked from commit a6bc8807e5 )
2021-12-23 08:57:54 +00:00
sebastian.sellmair
5e657784db
[MPP] Improve performance of ExpectedActualDeclarationChecker.kt
...
A project like OKIO might have a lot (~700) module-dependsOn-paths
Prior this commit `findActualForExpected` was called for all modules
in all said module-dependsOn-paths which resulted in several thousand
invocations.
The new approach is to call `findActualForExpected` only for known
leaf modules to find all reachable actuals. From there, the actuals
get associated with intermediate modules in this paths and reported
accordingly.
^KT-50156 Verification Pending
2021-12-23 08:57:54 +00:00
Mikhael Bogdanov
8324330823
Substitute hardcoded getJdkXXHome with test jdkHome
2021-12-23 07:26:03 +00:00
Mikhael Bogdanov
faa2a67180
Add Java17ModulesIntegrationTest tests, fix problem with wrong diagnostic
2021-12-23 07:26:03 +00:00
Mikhael Bogdanov
78597912c0
Update tests for Java modules to be compatible with JDK 17
2021-12-23 07:26:02 +00:00
Mikhael Bogdanov
913c7ad956
Rename Java11ModulesIntegrationTest into base JavaModulesIntegrationTest
2021-12-23 07:26:02 +00:00
Mikhael Bogdanov
860d0a4296
Add cli test with default JDK8 and -Xjdk-release=1.8
2021-12-23 07:26:01 +00:00
Mikhael Bogdanov
9221810d7f
-Xjdk-release. Review fixes. Pass nullable jdkRelease
2021-12-23 07:26:01 +00:00
Mikhael Bogdanov
a6052dce44
-Xjdk-release. Review fixes
2021-12-23 07:26:01 +00:00
Mikhael Bogdanov
3593e45b97
Rename 'RELEASE' fields into 'JDK_RELEASE'
2021-12-23 07:26:00 +00:00
Mikhael Bogdanov
b8ca22da87
Update extraHelp test
2021-12-23 07:26:00 +00:00
Mikhael Bogdanov
f5da166d7c
Switch -jvm-target default to null
2021-12-23 07:25:59 +00:00
Mikhael Bogdanov
6379ed22d1
Calculate proper roots for JDK 10-11
...
#KT-29974
2021-12-23 07:25:59 +00:00
Mikhael Bogdanov
a062eb04ac
Release flag. Check conflicts with `-jvm-target'
2021-12-23 07:25:59 +00:00
Mikhael Bogdanov
c2d17ded33
Release flag. Add diagnostics
2021-12-23 07:25:58 +00:00
Mikhael Bogdanov
e5e3e9d326
Advanced modules supports
...
#KT-29974
2021-12-23 07:25:58 +00:00
Mikhael Bogdanov
ae81aaa7b0
Tune module graph dependencies building
2021-12-23 07:25:57 +00:00
Mikhael Bogdanov
409d36c911
Basic -Xrelease option support
...
#KT-29974 Fixed
2021-12-23 07:25:57 +00:00
Mikhael Bogdanov
6026a96349
Add flag for ct.sym serch
2021-12-23 07:25:56 +00:00
Mikhael Bogdanov
22b3688493
Support sig files processing
2021-12-23 07:25:56 +00:00
Alexander Udalov
898c46c124
Minor, uncomment UInt in annotation instantiation test
...
KT-49998 is fixed so now it works.
2021-12-22 22:21:00 +01:00
Mikhail Glukhikh
2fc372413e
AbstractMany...InferenceSession -> FirInferenceSessionForChainedResolve
2021-12-22 22:21:43 +03:00
Mikhail Glukhikh
6342eb96c0
FIR: replace constraint with NotFixedTypeToVariableSubstitutor properly
...
In this commit we add nullability to upper type of a substituted
constraint in the situation like (Stub<_L> <: SomeType),
where _L is fixed to nullable Stub<_L>?.
We have to change this constraint to L <: SomeType? and not to
L <: SomeType as before, otherwise nullability become broken
(direct substitution of Stub<_L> to L is illegal here).
#KT-50470 Fixed
2021-12-22 22:21:43 +03:00
Mikhail Glukhikh
dafc6d849c
FIR: code cleanup in integrateConstraintToSystem
2021-12-22 22:21:42 +03:00
Mikhail Glukhikh
6614e1f3af
FIR: extract some inference-related type substitutors to classes
2021-12-22 22:21:41 +03:00
Mikhail Glukhikh
97ed14cdee
FIR: add ConeStubTypeForSyntheticFixation branch to withNullability
2021-12-22 22:21:40 +03:00
Mikhail Glukhikh
30ea1601d5
FIR: commonize builder & inference sessions
2021-12-22 22:21:39 +03:00
Mikhail Glukhikh
e872cfa69a
FIR: add test repeating problem from KT-50470
2021-12-22 22:21:39 +03:00
Sergej Jaskiewicz
3fb1096c18
[JS IR] Support IR dump in JS tests
2021-12-22 17:55:33 +00:00
Stanislav Erokhin
2436ca3d8b
Temporary workaround for failing tests on teamcity.
...
This commit should be reverted later with testdata update
2021-12-22 18:51:20 +01:00
sebastian.sellmair
96e893223f
Revert "[MPP] Improve performance of ExpectedActualDeclarationChecker.kt"
...
This reverts commit 8880ea1c16 .
2021-12-22 17:22:14 +01:00
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
Ilya Goncharov
0b871d7534
[IR] Be ready if message of CompilationException throw exception
2021-12-22 10:50: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
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