Simon Ogorodnik
2b63bcaa19
Correct diagnostics and quick-fix for T::class with non-reified type parameter #KT-9590 fixed
2016-09-09 16:14:11 +03:00
Mikhail Glukhikh
998399bcd8
Change to star projection no longer applied for functional types #KT-13715 Fixed
...
Also EA-87648 Fixed
2016-09-09 15:00:02 +03:00
Mikhail Glukhikh
23132ad519
Convert lambda to reference intention: apply shorten references to callable reference only, not to the whole argument list
2016-09-09 14:59:57 +03:00
Mikhail Glukhikh
06b7881776
Refactoring: add braces to when entry intention is integrated into general add braces intention
2016-09-09 14:59:52 +03:00
Mikhail Glukhikh
cbc7f72f15
Minor: remove braces is now applicable for the whole loop or when entry
2016-09-09 14:59:47 +03:00
Mikhail Glukhikh
cf2839eb9a
Refactoring: remove braces from when entry intention is integrated into general remove braces intention
2016-09-09 14:59:42 +03:00
Mikhail Glukhikh
8b6cec6ba2
Test fix: typeFromJavaFlexibleRecursive
2016-09-08 18:54:57 +03:00
shiraji
9d768e2375
Add quickfix for FINAL_UPPER_BOUND: inline type parameter #KT-13773 Fixed
2016-09-08 17:48:01 +03:00
Nikolay Krasko
28d187ca1a
More tests for ChangeVisibilityModifierIntention
...
(cherry picked from commit e7cdba7)
2016-09-08 17:32:40 +03:00
Valentin Kipyatkov
36c2b01047
KT-13675 Ctrl-W: cannot select type argument in return type
...
#KT-13675 Fixed
2016-09-07 20:02:50 +03:00
Valentin Kipyatkov
8d16af41a9
Fixed test data
2016-09-07 19:04:48 +03:00
Valentin Kipyatkov
6d028fbcce
Supported object value access expressions
2016-09-07 19:04:48 +03:00
Valentin Kipyatkov
82089da0cf
Better test
2016-09-07 19:04:47 +03:00
Valentin Kipyatkov
5b638f51b0
Down-shift to plain search if reference in unknown language encountered
2016-09-07 19:04:46 +03:00
Valentin Kipyatkov
a6a7075568
Fixed the case of public from private class inheritance in Java
2016-09-07 19:04:46 +03:00
Valentin Kipyatkov
904017eaff
Covered case when variable of our type is multi-declaration entry
2016-09-07 19:04:46 +03:00
Valentin Kipyatkov
2322ecb032
Fixed test
2016-09-07 19:04:45 +03:00
Valentin Kipyatkov
d7a94ac470
Fixed find usages for Java's invoke()
2016-09-07 19:04:44 +03:00
Valentin Kipyatkov
478556890a
KT-13605 Find Usages fails to find usages of component function defined in Java
...
#KT-13605 Fixed
2016-09-07 19:04:44 +03:00
Valentin Kipyatkov
5e52e74963
Fixed test data
2016-09-07 19:04:44 +03:00
Valentin Kipyatkov
0158ff46f3
Fixed operator references search for functions declared in Java
2016-09-07 19:04:43 +03:00
Valentin Kipyatkov
f6fbd0b623
Fast search of contains operator
2016-09-07 19:04:43 +03:00
Valentin Kipyatkov
5ce780cafc
Optimization
2016-09-07 19:04:43 +03:00
Valentin Kipyatkov
0f32574be0
Fast get/set operators search
2016-09-07 19:04:42 +03:00
Valentin Kipyatkov
eeea85c86a
Fast search of assignment operations
2016-09-07 19:04:42 +03:00
Valentin Kipyatkov
cdf328475e
Fast unary operators search
2016-09-07 19:04:42 +03:00
Valentin Kipyatkov
322df5b348
More correct operator treatment
2016-09-07 19:04:42 +03:00
Valentin Kipyatkov
43f8fbea2b
More information in log
2016-09-07 19:04:41 +03:00
Valentin Kipyatkov
e1c1c5fb59
Minor change in log
2016-09-07 19:04:41 +03:00
Valentin Kipyatkov
8fd9b4a87b
More information in log
2016-09-07 19:04:41 +03:00
Valentin Kipyatkov
1ca698cfc4
Implemented fast search for binary operators
2016-09-07 19:04:41 +03:00
Valentin Kipyatkov
f2c0d131e4
Refactored to avoid code duplication
2016-09-07 19:04:40 +03:00
Valentin Kipyatkov
e3b37f9219
Implemented fast search for invoke operator calls
...
#KT-13643 Fixed
2016-09-07 19:04:40 +03:00
Michael Bogdanov
237afb4b7c
Mark linenumber in property reference
2016-09-07 12:01:48 +03:00
Nikolay Krasko
115bc7e73b
Tests for GotoTypeDeclaration action
...
(cherry picked from commit 3cd100b)
2016-09-06 15:27:54 +03:00
Denis Zharkov
86c1dbe7b5
Fix decompilation of types based on local classifiers
...
If deserializing a type with arguments based on a local class for
decompiler, then just return Any type (without arguments).
Previously Any constructor was used with serialized arguments, that lead
to exception
Note that in case of deserialization for compiler nothing changes about
local-classes-based types (LocalClassifierResolverImpl is just inlined)
#KT-13408 Fixed
2016-09-05 17:54:36 +03:00
Nikolay Krasko
795fef20d7
Don't highlight declaration with WRAPPED_INTO_REF
...
Leave highlighting only for usage. This may allow to make highlighting more local and lazy.
Java follows the same rules for "Implicit anonymous class parameter".
2016-09-02 13:41:24 +03:00
Nikolay Krasko
52dd02fe08
Make changes in super call lambda not cause out-of-block modification (KT-13474)
...
#KT-13474 Fixed
2016-09-02 13:41:24 +03:00
Nikolay Krasko
64d511566e
Test that out-of-block behaviour conforms running the analyze of the nearest expression
...
Mark as exceptions cases with field initialize expression and body of class init for now
2016-09-02 13:41:24 +03:00
Mikhail Glukhikh
c7f87e655c
Build fix (ConvertLambdaToReferenceIntention)
2016-09-01 18:45:42 +03:00
Mikhail Glukhikh
2ab553243c
Convert lambda to reference: use fully qualified type names if needed #KT-13438 Fixed
...
(cherry picked from commit e2e761e)
2016-09-01 14:44:36 +03:00
Mikhail Glukhikh
a41c4b9a0f
Convert lambda to reference: flexible receiver types are handled correctly #KT-13411 Fixed
...
(cherry picked from commit ecad1c3)
2016-09-01 14:44:22 +03:00
Mikhail Glukhikh
863e4afc7b
Convert lambda to reference: no more allowed for extension KFunction parameters #KT-13527 Fixed
...
(cherry picked from commit 84c4ff7)
2016-09-01 14:44:11 +03:00
Mikhail Glukhikh
ec41289664
Convert lambda to reference: range reduced to a call itself #KT-13661 Fixed
...
(cherry picked from commit f7b5d34)
2016-09-01 14:44:00 +03:00
Alexey Sedunov
2f9a911624
Introduce Type Parameter
...
#KT-13155 Fixed
2016-09-01 13:43:44 +03:00
Valentin Kipyatkov
6562412bda
Ignore usages in XML
2016-08-31 19:12:28 +03:00
Valentin Kipyatkov
06eea53246
Fixed bug with class using data class as type parameter in supers list
2016-08-31 19:12:28 +03:00
Valentin Kipyatkov
b332867b25
Use one KtDestructuringDeclarationReference per each entry - better highlight usages and other actions
2016-08-31 19:12:28 +03:00
Valentin Kipyatkov
9cd7e9d519
Down-shifting to plain search when operator usage search required
2016-08-31 19:12:28 +03:00
Valentin Kipyatkov
5682c917f9
Fixed infinite recursion
2016-08-31 19:12:27 +03:00