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
Dmitry Petrov
f79afd67f4
Add more tests for collections implemented by delegation
2020-09-29 22:44:00 +03:00
Vladimir Dolzhenko
3c380faeb5
Added deprecated PackageFragmentProvider#getPackageFragments for BWC
...
Relates to ^KT-33394
^KT-42259 Fixed
2020-09-29 19:14:44 +00:00
Mikhael Bogdanov
a228206cf5
Minor. Regenerate tests
2020-09-29 20:29:40 +02:00
Dmitry Petrov
79a2d9858c
JVM_IR emulate JVM stub generation scheme
...
KT-42114
KT-42115
2020-09-29 21:06:30 +03:00
pyos
6dc08cb2fd
Add a bytecode test that checks inlining of adapted references
2020-09-29 19:49:46 +02:00
pyos
9a3507af59
JVM_IR: treat adapted references as lambdas for inlining
...
#KT-38536 Fixed
#KT-38535 Fixed
2020-09-29 19:49:46 +02:00
pyos
0e8a664c9b
JVM_IR: fix bound suspend-converted references
...
Note: inlining of adapted callable references is still suboptimal.
#KT-42021 Fixed
2020-09-29 19:49:46 +02:00
Mikhail Glukhikh
ac50433e17
Fix failing bytecode text test
...
In this commit I moved IGNORE_BACKEND_FIR to the end or deleted it
when it was applicable, to preserve correct line numbers
2020-09-29 19:16:42 +03:00
Yan Zhulanow
cfd90c85cb
Kapt: Re-enable JDK 9/11 tests disabled by occasion
2020-09-30 00:31:08 +09:00
Pavel Kirpichenkov
b39af51390
[FIR] Extract language settings into a dedicated component
...
^KT-42080 Fixed
2020-09-29 18:22:56 +03:00
Pavel Kirpichenkov
8f31b1ca83
[FIR] Use default language settings in inference components
...
Without settings common inference components require additional parameters
to be passed explicitly from components not shared between FIR and FE10.
Proper configuration can be postponed in FIR, defaults are good enough for now.
^KT-42080 In progress
2020-09-29 18:22:56 +03:00
Yan Zhulanow
dba1b50aed
Parcelize: Don't write Parcelize model if the Parcelize plugin is disabled
2020-09-29 23:58:30 +09:00
Yan Zhulanow
9cdd6e9a8f
Kapt: Support new @JvmDefault functionality (KT-25960)
2020-09-29 23:58:30 +09:00
Yan Zhulanow
a44fd964cf
Kapt: Don't convert field initializers for enum fields inside companion objects (KT-37732)
...
For classes with companion objects, Kotlin compiler generates a 'Companion' static accessor field.
Java prioritizes fields over inner types (apparently, Scala does this as well, KT-29864), so the generated initializer doesn't compile.
As a workaround, initializer generatation is disabled for enum fields inside companion objects. Certainly, it's not a proper fix, however it does fix the regression.
2020-09-29 23:58:29 +09:00
Toshiaki Kameyama
86ac44c23e
"Replace 'if' with elvis operator": don't suggest if val initializer is a complex expression
...
#KT-35165 Fixed
2020-09-29 23:58:29 +09:00
Toshiaki Kameyama
653e20dcba
Convert put to assignment: don't report when receiver object has custom 'set' method
...
#KT-33212 Fixed
2020-09-29 23:58:29 +09:00
Toshiaki Kameyama
5abb6bc7a5
Add quickfix for SENSELESS_NULL_IN_WHEN to remove redundant when branch
...
#KT-24556 Fixed
2020-09-29 23:58:29 +09:00
Toshiaki Kameyama
668473c337
Add quickfix for CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT to remove const modifier
...
#KT-35215 Fixed
2020-09-29 23:58:28 +09:00
Toshiaki Kameyama
5a3c6def8f
Join with assignment: fix false negative when local variable are used
...
#KT-34270 Fixed
2020-09-29 23:58:28 +09:00
Toshiaki Kameyama
b56272dc64
Add name to argument: do not remove necessary backticks
...
#KT-30894 Fixed
2020-09-29 23:58:28 +09:00
Toshiaki Kameyama
a492fe7757
"Put arguments/parameters on separate lines": respect code style settings
...
#KT-20420 Fixed
2020-09-29 23:58:27 +09:00
Toshiaki Kameyama
74ee68e57b
Remove redundant backticks: do not report if variable inside the string and isn't followed by space
...
#KT-35051 Fixed
2020-09-29 23:58:27 +09:00