Denis.Zharkov
d9f45fdf9e
FIR2IR: Fix incorrect fake override structure for delegated member in supertype
...
In C, fake override for `name` should have B::name as base symbol, not Named::name
2021-01-29 10:50:21 +03:00
Mikhael Bogdanov
844d2572e5
Don't run dx test in emulator
2021-01-29 08:48:30 +01:00
Mikhael Bogdanov
1c612376dd
Disable some android box test
2021-01-28 18:30:48 +01:00
Mikhael Bogdanov
0ad24f5346
Enable Android box test
2021-01-28 18:01:21 +01:00
Mikhael Bogdanov
b16b1b3b78
Test for obsolete KT-26360
...
#KT-26360
2021-01-28 18:01:21 +01:00
Mikhael Bogdanov
bea29d0de5
Add test for KT-44074
...
#KT-44074
2021-01-28 18:01:21 +01:00
Ilya Goncharov
5fa9acc17a
[JS IR] Add additional exported declarations inside dce loop
...
[JS IR] Remove useless filter in dce for more log information
^KT-44469 fixed
2021-01-28 18:56:34 +03:00
Ilya Goncharov
d88d1d048e
[JS IR] Context to NameTables for stable names in additional exported declarations
...
[JS IR] BridgesConstruction with generic without cast
^KT-44469 fixed
2021-01-28 18:56:21 +03:00
Ilya Goncharov
f186047101
[JS IR] Add additional exported declarations with exported stub to dce
...
^KT-44469 fixed
2021-01-28 18:56:01 +03:00
Ilya Goncharov
6e98b81f3a
[JS IR] Use recursive isExported for stable name detection
...
^KT-44469 fixed
2021-01-28 18:55:48 +03:00
Ilya Goncharov
977781fa49
[JS IR] Add tests with export all file and export nested class
...
[JS IR] Skip dce driven for nested classes export
^KT-44469 fixed
2021-01-28 18:55:33 +03:00
Ilya Kirillov
1b68f35f7c
FIR: create new ConeTypeCheckerContext on every supertypes calculation
...
It can be recursively used while calculating supertypes via IDE lazy resolve,
which is forbidden
2021-01-28 13:52:04 +01:00
Mikhail Glukhikh
1c80c5610d
FIR: fix serialization of accessor with source-level annotations
2021-01-28 13:21:16 +03:00
Dmitriy Novozhilov
72b07c727b
fixup! Add runtime dependency on experimental coroutines to :kotlin-scripting-compiler-impl
2021-01-28 13:19:35 +03:00
Dmitriy Novozhilov
4389cc7787
Update testdata of maven plugin tests
2021-01-28 13:19:35 +03:00
Dmitriy Novozhilov
8b892a46c9
Update testdata of maven plugin test
2021-01-28 13:19:35 +03:00
Dmitriy Novozhilov
f740e4141c
Temporary force building all libraries with old backend
2021-01-28 13:19:35 +03:00
Dmitriy Novozhilov
71d8b842fd
Add runtime dependency on experimental coroutines to :kotlin-scripting-compiler-impl
...
This is needed to keep compatibility with old gradle versions which
are steel using kotlin 1.2 with experimental coroutines
2021-01-28 13:19:34 +03:00
Dmitriy Novozhilov
17230397e6
[Test] Update or drop some IDE tests about experimental coroutines
2021-01-28 13:19:34 +03:00
Dmitriy Novozhilov
bc3b791cd8
[TMP] Remove :kotlin-coroutines-experimental-compat module
2021-01-28 13:19:34 +03:00
Dmitriy Novozhilov
1300ec3e45
Revert "Build: enable -Werror in stdlib/core/compiler/plugins modules"
...
This reverts commit 3be62dfc
2021-01-28 13:19:34 +03:00
Dmitriy Novozhilov
f3364ec602
[TD] Update testdata according to KT-44546
2021-01-28 13:19:33 +03:00
Dmitriy Novozhilov
299272fa6d
[Test] Update diagnostics testdata according to allowed suspend fun interfaces
2021-01-28 13:19:33 +03:00
Dmitriy Novozhilov
a253b9508e
Mute some ultra light classes tests according to KT-44472
2021-01-28 13:19:33 +03:00
Dmitriy Novozhilov
c0bc492029
Mute some script tests according to KT-44471
2021-01-28 13:19:33 +03:00
Dmitriy Novozhilov
95aa8dc85a
Fix detecting of non-physical files in ClassFileFactory
2021-01-28 13:19:32 +03:00
Dmitriy Novozhilov
3b97835b74
Disable -Werror for :compiler:cli module
...
This is needed because we should compile cli with target version
(which is deprecated now) for compatibility with gradle
2021-01-28 13:19:32 +03:00
Dmitriy Novozhilov
2c3031f981
[Test] Mute IC with circular dependencies with JVM IR backend
2021-01-28 13:19:32 +03:00
Victor Petukhov
ba44ad1aa3
Approximate anonymous return types for private inline functions to explicit supertype or Any (KT-33917)
2021-01-28 13:19:32 +03:00
Victor Petukhov
670f029bdf
Allow passing non-spread arrays into a vararg parameter after sam properly, through propagating vararg element type to a sam adapter from the original parameter descriptor
2021-01-28 13:19:31 +03:00
Victor Petukhov
af3eaf5d71
Add explicit disabling ProhibitVarargAsArrayAfterSamArgument feature in tests as it's enabled by default in 1.5
2021-01-28 13:19:31 +03:00
Victor Petukhov
e39bbcd937
Unmute test which checks the evaluation order of value arguments with varargs.
...
The corresponding feature (UseCorrectExecutionOrderForVarargArguments) is enabled by default in 1.5.
2021-01-28 13:19:31 +03:00
Dmitriy Novozhilov
4f8b12c96f
[Test] Fix various tests according to switching to kotlin 1.5
2021-01-28 13:19:30 +03:00
Dmitriy Novozhilov
64100eec07
[Test] Add workaround for KT-44359
2021-01-28 13:19:30 +03:00
Dmitriy Novozhilov
ffc585ad5c
[Debugger] Fix compiler option for disabling IR backend in tests
2021-01-28 13:19:30 +03:00
Dmitriy Novozhilov
cd93b2f39b
Use old backend in script compilation context
2021-01-28 13:19:30 +03:00
Dmitriy Novozhilov
ee1aff1012
[Test] Update different testdata according to changes in sealed classes
2021-01-28 13:19:29 +03:00
Dmitriy Novozhilov
81fd8b5940
[IR] Fix undeterministic order in signature clash reporting
2021-01-28 13:19:29 +03:00
Dmitriy Novozhilov
6a2796b067
[Test] Fix source maps in testdata according to KT-37704
2021-01-28 13:19:29 +03:00
Dmitriy Novozhilov
a6600cef47
[Test] Remove some outdated tests from LocalInspectionTestGenerated
...
Those tests are referring to outdated language features which are
meaningless for language version 1.5
2021-01-28 13:19:29 +03:00
Dmitriy Novozhilov
a9ef8bb32f
[IDE] Update SuperClassNotInitialized to relaxed restrictions on sealed classes
2021-01-28 13:19:28 +03:00
Dmitriy Novozhilov
16e0c0b820
[Test] Update testdata of quickfix tests related to sealed classes
2021-01-28 13:19:28 +03:00
Dmitriy Novozhilov
7632c11745
Enforce using old backend in JvmCliReplShellExtension
2021-01-28 13:19:28 +03:00
Dmitriy Novozhilov
c6039d76d3
Enforce using old backend in JvmAbiAnalysisHandlerExtension
2021-01-28 13:19:27 +03:00
Alexander Udalov
f350e9dacb
Fix rendering of metadata of multifile facades in classFilesComparison.kt
...
Multifile facades (class files with header kind MULTIFILE_CLASS) have
the list of their parts in the d1 field (KotlinClassHeader.data), not
some byte-encoded protobuf message which this code was trying to
deserialize previously.
2021-01-28 13:19:27 +03:00
Alexander Udalov
1deb317e0d
Update and regenerate incremental compilation tests for 1.5
...
Set TargetBackend.JVM_IR for these tests by default; remove the
generated IR-based test and add a new old-backend-based test. This fixes
the issue where some (3) of these tests were not properly ignored
because of incorrect target backend used in the test generator.
Also update test data for some tests which use local functions, which
are not generated to separate anonymous classes in JVM IR.
2021-01-28 13:19:27 +03:00
Alexander Udalov
4dff7e648f
Minor, restore abiStabilityUnstableWithOldBackend CLI test
...
Add -Xuse-old-backend to make it pass with LV=1.5 where JVM IR is
enabled by default.
2021-01-28 13:19:26 +03:00
Alexander Udalov
d87d0cceae
JVM IR: report all sources as outputs for .kotlin_module file
...
This fixes some tests for LV=1.5 in KotlinJpsBuildTest,
KotlinJpsBuildTestIncremental, IncrementalJvmJpsTestGenerated,
IncrementalCacheVersionChangedTestGenerated.
#KT-42069 Fixed
2021-01-28 13:19:26 +03:00
Dmitriy Novozhilov
f3393eae1b
[Test] Update testdata of CompileKotlinAgainstCustomBinariesTest
2021-01-28 13:19:26 +03:00
Dmitriy Novozhilov
9b80a552e9
[Test] Update testdata of spec tests
2021-01-28 13:19:25 +03:00