Denis Zharkov
28c536e511
FIR: Add temporary workaround to avoid changes in test data
...
CallableId for intersection overrides has been changed in previous commits
and many rendered FIR test data needs to be changed
But, we're going to get rid of callableId's/or fix them back for intersection overrides soon
2020-10-01 17:49:02 +03:00
Denis Zharkov
ff83555729
Minor. Optimize imports
2020-10-01 17:49:02 +03:00
Denis Zharkov
fd9c6479bf
FIR: Do not call withReplacedConeType if type is unresolved
2020-10-01 17:49:02 +03:00
Denis Zharkov
cb07ffc4fd
FIR: Clarify contracts for two versions FirClass<*>::scope
...
- One of them really creates a scope a specific type
- Another one is used for supertypes and includes creation of FirDelegatedMemberScope wrapper
2020-10-01 17:49:02 +03:00
Denis Zharkov
1adf731fc5
FIR: Minor. Use buildValueParameterCopy
2020-10-01 17:49:02 +03:00
Denis Zharkov
9696fecab5
FIR: Use refined visibility/modality for intersection overrides
2020-10-01 17:49:02 +03:00
Denis Zharkov
20bf238c27
FIR2IR: Fix signature computed for fake-overrides
...
Take into account _new owner_ of the function
Namely, if there's a substitution override from a class A<T> in its subtype B,
it will refer `B` as its owner in the signature
2020-10-01 17:49:02 +03:00
Denis Zharkov
9914b487b7
FIR: Do not load hashCode/toString/equals methods from Java interface
...
As it's done in FE 1.0, and there are subtle semantics in the language that depends on it
2020-10-01 17:49:02 +03:00
Denis Zharkov
7c7c5336f9
FIR: Reuse callables copying parts in FirClassSubstitutionScope
...
It changes the behavior in FirTypeIntersectionScope:
- now type parameters are also get copied
- value parameters are being copied unchanged
2020-10-01 17:49:02 +03:00
Denis Zharkov
0297be1fa8
FIR: Replace callableId for intersection overrides
2020-10-01 17:49:02 +03:00
Denis Zharkov
11bc0e3225
FIR: Extract FirTypeScope.getDirectOverridden*
2020-10-01 17:49:02 +03:00
Denis Zharkov
73c6eb2793
FIR2IR: Extract common parts in FakeOverrideGenerator
2020-10-01 17:49:02 +03:00
Denis Zharkov
d67a1f9123
FIR: Rework default parameters propagation through overrides
2020-10-01 17:49:02 +03:00
Denis Zharkov
ac666187b0
FIR: Use correct session in FirJvmMangleComputer
2020-10-01 17:49:02 +03:00
Denis Zharkov
c8afa8f715
FIR2IR: Remove unused FakeOverrideMode
2020-10-01 17:49:02 +03:00
Roman Golyshev
2b76fe8a72
[FIR Completion] Enable basic insertion handler tests for FIR completion
...
Enable tests that are passing
2020-10-01 15:42:50 +03:00
Steven Schäfer
39736868bf
JVM IR: Allow debugger to evaluate expressions involving IR dependencies
2020-10-01 14:35:05 +02:00
Steven Schäfer
48b736e551
JVM IR: Enable evaluate expression tests for the JVM IR backend
2020-10-01 14:35:05 +02:00
Toshiaki Kameyama
33969c5f9a
Redundant semicolon: fix false negative on start of line
...
^KT-40704 Fixed
2020-10-01 14:31:59 +02:00
Nikita Skvortsov
02c31a711c
Avoid iterating over all idea modules.
...
Use hash table to quickly lookup idea module by gradle project path
2020-10-01 14:09:34 +02:00
Florian Kistner
713f6e1ed3
Load artifactory in root script to workaround conflicts
2020-10-01 13:46:01 +02:00
Yaroslav Chernyshev
4c9d3b4668
[Gradle, Cocoapods] Add Podfile missing info to podInstall error report
...
#KT-42243 Fixed
2020-10-01 14:30:19 +03:00
Roman Golyshev
6c79040cfb
[FIR Completion] Enable passing tests
2020-10-01 13:07:20 +03:00
Roman Golyshev
12cd5fb43a
[FIR Completion] Refactor FIR completion tests
...
Extract logic about checking the directive and catching the exception
2020-10-01 13:07:20 +03:00
anastasiia.spaseeva
31de584d14
[Spec tests] Generate sections json map
2020-10-01 12:32:22 +03:00
Victor Petukhov
d02432cf93
Introduce warning for the changing arguments execution order for named varargs (KT-17691)
2020-10-01 12:15:13 +03:00
Victor Petukhov
d62c665e99
Introduce language feature to enable the correct arguments execution order for named varargs (KT-17691)
2020-10-01 12:14:49 +03:00
Bart van Helvert
485ada7b90
Move getColon from KtClass to KtClassOrObject
...
Makes it possible to retrieve the colon from a KtObjectDeclaration.
2020-10-01 10:20:20 +03:00
Vladimir Dolzhenko
4d5b32b140
Clean up perf tests TC stats output
2020-10-01 07:52:01 +02:00
Victor Petukhov
986ee11aab
Fix failing spec test
2020-09-30 22:14:11 +03:00
Kirill Shmakov
4f51367196
Remove build settings of CLion plugin
2020-09-30 19:56:49 +03:00
Vyacheslav Gerasimov
f03b957812
Build: Check ivy repository by empty marker file instead of directory
...
Should fix situations when directory exists but contents are invalid
which happens when unpacking process is interrupted.
2020-09-30 17:51:22 +03:00
Victor Petukhov
d0a1f18c7d
Fix failing test after fcfabb70d5
2020-09-30 17:37:20 +03:00
Bingran
60cf3b5740
Upgradle agp version for ConfigurationCacheForAndroidIT
...
The new agp version contains the fix regarding build listeners which
will allow kgp run config caching test without warnings.
Fixes: n/a
Test: existing
2020-09-30 16:06:35 +03:00
Dmitry Petrov
af86c52101
JVM_IR merge annotations when substituting types
...
Otherwise special annotations such as @EnhancedNullability are lost,
which affects JVM signatures.
KT-42330
2020-09-30 15:44:54 +03:00
sebastian.sellmair
4b152a635e
multiplatformUtil; Module.implementedModules: Extend Android M2 fallback to also include M3 relevant modules
...
Port of `kotlin-ide` commit: 9053046ad5731b7aca73e2f74b93e8bd8251f507
2020-09-30 12:34:26 +00:00
sebastian.sellmair
f9b8bc0edb
Move KotlinAndroidDependsOnEdgesTest.kt to new functionalTest source set
2020-09-30 12:26:49 +00:00
sebastian.sellmair
1173c4380a
KotlinPlugin: Setup default 'dependsOn' edges for Android source sets
2020-09-30 12:26:48 +00:00
Dmitriy Novozhilov
dbf34205ff
Advance bootstrap to 1.4.30-dev-738
2020-09-30 15:00:44 +03:00
Victor Petukhov
fcfabb70d5
Report invisible setter error if it's resolved to synthetic property of base class with public getter and protected setter
...
^KT-11713 Fixed
2020-09-30 14:35:43 +03:00
Denis Zharkov
fdd71c0bce
Fix incorrect NULLABLE_TYPE_PARAMETER_AGAINST_NOT_NULL_TYPE_PARAMETER
...
^KT-42257 Fixed
2020-09-30 14:10:53 +03:00
Jinseong Jeon
d09ccdbe3c
FIR serializer: distinguish typealias classifier
2020-09-30 12:21:57 +03:00
Jinseong Jeon
b4ac2f5b55
FIR serializer: special handling of Continuation
2020-09-30 12:21:57 +03:00
Konstantin Tskhovrebov
5d2adce7ab
as42: Add lost project parameter to CliLightClassGenerationSupport.
2020-09-30 11:38:18 +03:00
Vladimir Dolzhenko
3212df6183
Reverted back occasional commenting of perf runs
2020-09-30 09:41:21 +02:00
Konstantin Tskhovrebov
803463ac11
Revert "as42: Fix override."
...
This reverts commit d33391f4
2020-09-30 10:28:38 +03:00
Nikolay Krasko
646e6446f7
as41: Fix compile error in :compiler:tests-common:compileTestJava
2020-09-30 10:05:57 +03:00
Nikolay Krasko
6d2647c681
Clean .bunch file
...
No need to pass base branch in the rule
2020-09-30 10:05:56 +03:00
Vladimir Dolzhenko
ce1b388668
Add registry key kotlin.resolve.forceFullResolveOnHighlighting
...
Relates to ^KT-41195
Relates to ^KT-38687
2020-09-30 05:56:46 +00:00
Vladimir Dolzhenko
50a16aa9bc
Do not print metadata for perf tests
2020-09-29 23:48:16 +02:00