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
Dmitry Gridin
2441ee80e4
Create RestrictReturnStatementTargetMigrationInspection
...
#KT-36262
2020-02-10 17:04:06 +07:00
Dmitry Gridin
2f3e3b9c9e
Create ProhibitJvmOverloadsOnConstructorsOfAnnotationClassesMigrationInspection
...
#KT-36260 Fixed
2020-02-10 17:04:06 +07:00
Dmitry Gridin
cbcc76c3ff
Create ProhibitTypeParametersForLocalVariablesMigrationInspection
...
#KT-36261 Fixed
2020-02-10 17:04:06 +07:00
Dmitry Gridin
8c455d9e08
Create AbstractDiagnosticBasedInspection
2020-02-10 17:04:06 +07:00
Victor Petukhov
ae39d748e4
NI: Try to solve constraint system with another flexibility from a type variable if couldn't solve
...
^KT-36254 Fixed
2020-02-10 12:31:42 +03:00
Dmitriy Novozhilov
b5dd16784a
[FIR] Add .gitattributes for correct line endings on windows
2020-02-10 11:58:54 +03:00
Dmitry Petrov
b9357b5486
Fix project build, part 2
2020-02-10 11:49:54 +03:00
Dmitry Petrov
5aa6d1d64b
Fix project build
2020-02-10 11:29:03 +03:00
Dmitriy Novozhilov
031a79528a
[FIR] Fix compiler error in build.gradle.kts
2020-02-10 11:23:43 +03:00
Dmitriy Novozhilov
55215ba187
[FIR] Fix generation root for FIR tree
2020-02-10 11:20:22 +03:00
Dmitriy Novozhilov
abfd87411d
[FIR-TEST] Mute failing tests with java kotlin supertypes cycle
2020-02-10 10:54:05 +03:00
Dmitriy Novozhilov
779ab632da
[FIR] Remove modifiable intermediate implementations from tree
...
All removed except `FirModifiableQualifiedAccess`
2020-02-10 10:54:05 +03:00
Dmitriy Novozhilov
3d671cbbad
Fix compiler error in test generator
2020-02-10 10:54:04 +03:00
Dmitriy Novozhilov
5ceb68f19f
[FIR-TEST] Update some testdata
2020-02-10 10:54:04 +03:00
Dmitriy Novozhilov
4b6c2f7a65
[FIR] Remove equality by fir from symbols
2020-02-10 10:54:04 +03:00
Dmitriy Novozhilov
c79fd61dba
[FIR] Fix usage of typeParameterStack from parent class in java loading
2020-02-10 10:54:03 +03:00
Dmitriy Novozhilov
dd67568cf6
[FIR] Fix recursive annotation deserialization
2020-02-10 10:54:03 +03:00
Dmitriy Novozhilov
d57fa859c8
[FIR] Implement builders for leaf nodes of FIR tree
2020-02-10 10:54:03 +03:00
Dmitriy Novozhilov
b0c1387279
[FIR] Remove legacy annotation @VisitedSupertype
2020-02-09 20:01:43 +03:00
Dmitriy Novozhilov
fcd9ef043c
[FIR] Reorganize some utility code of tree generator
2020-02-09 20:01:43 +03:00
Georgy Bronnikov
f7c784adeb
JVM_IR: minor code cleanup in JvmStaticAnnotationLowering
2020-02-09 13:23:05 +03:00
Georgy Bronnikov
182e1c1b3b
JVM_IR: Remove buggy special case accessor code from JvmStaticAnnotationLowering
...
General purpose accessors in SyntheticAnnotationLowering are sufficient.
2020-02-09 13:12:33 +03:00
Vladimir Dolzhenko
b451c25dba
Fixed MoveJavaInnerClassKotlinUsagesHandler after obsolete API drop off
...
Relates to #KT-35918
2020-02-09 08:54:44 +01:00