Mikhail Glukhikh
e3721ed406
[FIR] Implement bare type modification with known type arguments
2020-02-11 16:09:21 +03:00
Mikhail Glukhikh
28332933ce
[FIR TEST] Add test case about values() priority (static over companion)
2020-02-11 16:09:20 +03:00
Mikhail Glukhikh
dc7621a112
[FIR] Fix Java override ambiguity (Kotlin type parameter VS Java Object)
2020-02-11 16:09:20 +03:00
Toshiaki Kameyama
4b5f3b7a94
Extract property: do not add unnecessary extension receiver
...
#KT-24615 Fixed
2020-02-11 15:52:47 +03:00
Ilya Kirillov
0fe5694cb7
Do not render redundant Nullable annotations when generating declarations
...
#KT-36321 fixed
2020-02-11 13:48:58 +03:00
Ilya Kirillov
4df8744b34
Rename by-name parameter usage in function calls when renaming function's parameter
...
#KT-32999 fixed
2020-02-11 13:48:56 +03:00
Ilya Chernikov
349d07ad43
[minor] Fix testdata after commit "Only create descriptors for candidate"...
2020-02-11 11:20:05 +01:00
Dmitriy Dolovov
a5e9e09755
[Commonizer] Properly detect commonized KLIBs in IDE
2020-02-11 17:14:19 +07:00
Dmitriy Dolovov
51af1c13b1
[Commonizer] Don't use base64 with padding in paths to libraries
2020-02-11 17:14:11 +07:00
Dmitry Gridin
f46fc19fdf
ProhibitRepeatedUseSiteTargetAnnotationsMigration: improve name and description
...
#KT-36477 Fixed
2020-02-11 10:25:46 +07:00
Dmitry Gridin
bcfd089473
AbstractDiagnosticBasedMigrationInspection: fix case with nullable custom factory
...
#KT-36479 Fixed
2020-02-11 09:58:59 +07:00
Dmitriy Dolovov
b9911d0e0c
[Commonizer] Use only if kotlin.native.enableDependencyPropagation=false
2020-02-11 08:51:54 +07:00
Dmitriy Dolovov
f98a4e6715
Minor. Text formatted in commonizer CLI
2020-02-11 08:51:47 +07:00
Dmitriy Dolovov
63b03d29dc
[Commonizer] Prevent from running commonizer from Gradle more then once
2020-02-11 08:51:39 +07:00
Dmitriy Dolovov
7cf4395ccd
[Commonizer] Integrate commonizer to the Gradle plugin, p.2
...
Call commonizer CLI via Gradle tool runner.
2020-02-11 08:51:32 +07:00
Dmitriy Dolovov
d7e82bf899
[Commonizer] Integrate commonizer to the Gradle plugin, p.1
...
Detect when it's really necessary to run commonizer. Resolve Kotlin/Native
platform dependencies. Add dependencies to the proper Gradle configurations.
Note: The most common source sets such as "commonMain" and "commonTest"
should not be used as Native intermediate source sets.
2020-02-11 08:51:24 +07:00
Dmitriy Dolovov
4ccff3f1b1
[Commonizer] Add extendable uniform multi-task CLI
2020-02-11 08:51:15 +07:00
Dmitriy Dolovov
91fce721b3
[Commonizer] Publish artifact for Kotlin embeddable compiler
2020-02-11 08:51:07 +07:00
Dmitriy Dolovov
4027079b41
[Commonizer] Fix dependencies visible in POM file
2020-02-11 08:51:00 +07:00
Dmitriy Dolovov
b711c6d398
Rename :native:kotlin-native-commonizer to :native:kotlin-klib-commonizer
2020-02-11 08:50:50 +07:00
Igor Yakovlev
07863b61d8
Fix UL classes failing tests
...
UltraLightClassLoadingTestGenerated.testInferringAnonymousObjectTypes
UltraLightClassLoadingTestGenerated.testObjects
2020-02-10 23:35:47 +03:00
Alexander Udalov
dc7b1fbff9
JVM IR: report warning instead of error for language/API version 1.2
...
This is needed for testing JVM IR on existing projects which for some
reason are still on Kotlin 1.2.
2020-02-10 17:32:18 +01:00
victor.petukhov
b8aacf0786
Fix test data around flexibility after ae39d748e4
2020-02-10 19:23:57 +03:00
Dmitry Gridin
dc2a9cdc81
Add missing inspections for 191, 192
2020-02-10 23:13:50 +07:00
Mikhail Glukhikh
2c918d2787
[FIR TEST] Add example with invoke priority inconsistent with old FE
2020-02-10 18:51:35 +03:00
Mikhail Glukhikh
232efa6303
[FIR] Fix situation with synthetic property in implicit body
2020-02-10 18:51:35 +03:00
Mikhail Glukhikh
d19d52292e
[FIR] Use builder to create synthetic properties
2020-02-10 18:51:34 +03:00
Mikhail Glukhikh
9a80850700
[FIR] Fix Kotlin-Java supertype recursion problem
2020-02-10 18:51:34 +03:00
Mikhail Glukhikh
cc0e39ebca
[FIR] Support synthetic property setters
2020-02-10 18:51:34 +03:00
Mikhail Glukhikh
a9ba94cf0e
[FIR] Use only variable symbol inheritors in processPropertiesByName
2020-02-10 18:51:34 +03:00
Mikhail Glukhikh
a569e29091
[FIR] Make SyntheticPropertySymbol derived from FirAccessorSymbol
2020-02-10 18:51:33 +03:00
Mikhail Glukhikh
a7f9e3ab09
[FIR] Accessor symbol is now a property symbol, not a function symbol
2020-02-10 18:51:33 +03:00
Mikhail Glukhikh
69809fef94
[FIR] Synthetic property symbol is now a property symbol, not a function
2020-02-10 18:51:33 +03:00
Georgy Bronnikov
17e1f081c7
JVM_IR: handle nested function references in InlineCallableReferenceToLambda
2020-02-10 18:47:04 +03:00
Alexander Udalov
15ff74209c
JVM IR: do not resolve fake override in InterfaceSuperCallsLowering
...
This leads to problems after 4dd794c2d2 , because the immediate super
function's DefaultImpls and the implementation's DefaultImpls have
differing type parameters.
Looks like resolveFakeOverride was used here (maybe unintentionally) as
a workaround to the problem caused by the incorrect origin check in
isDefinitelyNotDefaultImplsMethod.
2020-02-10 16:08:10 +01:00
Vladimir Dolzhenko
d9cbc459d0
Use PluginManagerCore instead of PluginManager
...
Relates to #KT-35918
2020-02-10 15:50:37 +01:00
Vladimir Dolzhenko
44cf0a9f72
Don't insert import if deprecation replacement contains stdlib typealias
...
Fixed #KT-14781
2020-02-10 14:59:40 +01:00
Ilya Chernikov
2249c223fe
Only create descriptors for candidates with lambda args
...
#KT-36247 fixed
2020-02-10 14:21:02 +01:00
Dmitriy Novozhilov
6ed4229359
[FIR] Fix smartcasts on member vals in init blocks
2020-02-10 15:53:57 +03:00
Yan Zhulanow
36a6eedd9c
Minor: Update generated tests for KT-34569
2020-02-10 21:25:01 +09:00
Vladimir Dolzhenko
052710db16
Added idea-plugin-performance-tests task
2020-02-10 12:27:38 +01:00
Denis Zharkov
becc9c21f0
FIR: Map raw types properly
2020-02-10 14:11:49 +03:00
Denis Zharkov
b3f9fa22b4
FIR: Fix inference when bound comes from type alias
...
It's type depth may be computed incorrectly
and relevant constraint is being skipped
2020-02-10 14:11:49 +03:00
Dmitry Gridin
733e596eed
Create WarningOnMainUnusedParameterMigrationInspection
...
#KT-36256 Fixed
2020-02-10 17:04:07 +07:00
Dmitry Gridin
8d48d899d0
Create ProhibitRepeatedUseSiteTargetAnnotationsMigrationInspection
...
#KT-36257 Fixed
2020-02-10 17:04:07 +07:00
Dmitry Gridin
266a7a67f0
Create ProhibitUseSiteTargetAnnotationsOnSuperTypesMigrationInspection
...
#KT-36258 Fixed
2020-02-10 17:04:07 +07:00
Dmitry Gridin
181dd432ca
RestrictReturnStatementTargetMigrationInspection: add quickfix
...
#KT-36262 Fixed
2020-02-10 17:04:07 +07:00
Dmitry Gridin
f1bad0c9ae
Convert RemoveReturnLabelFix from LocalQuickFix to KotlinQuickFixAction
2020-02-10 17:04:07 +07:00
Dmitry Gridin
e9dc1e07b9
Extract RemoveReturnLabelFix
2020-02-10 17:04:07 +07:00
Dmitry Gridin
311860699e
Create RedundantLabelMigrationInspection
...
#KT-36262
2020-02-10 17:04:06 +07:00