Commit Graph

24 Commits

Author SHA1 Message Date
Dmitry Petrov c83b764c73 Update testData after changes in diagnostics 2017-05-26 13:58:46 +03:00
Stanislav Erokhin 4b9aac6318 Replace not debug usages of DescriptorRenderer.DEBUG_TEXT to DescriptorRenderer.FQ_NAMES_IN_TYPES. 2016-05-25 16:31:34 +03:00
Stanislav Erokhin 693461e2ee Minor. Remove failed tests for KT-8116. 2016-04-04 23:12:38 +03:00
Valentin Kipyatkov 4cd7193047 KT-11018 Ctrl + Mouse Hover shows a var as val
#KT-11018 Fixed
2016-02-13 10:20:20 +03:00
Denis Zharkov e2c02f825f Refine member scope for types with projections
Instead of erasing descriptors with conflicting substitution,
use invariant CapturedType(<projection>) as replacement for type parameter
within default member scope.

After substitution leave such types 'as is' everywhere except return types,
use common approximation for them.

 #KT-9294 In Progress
 #KT-5411 Fixed
 #KT-8647 Fixed

 #KT-9462 Fixed
 #KT-9893 Fixed
 #KT-7581 Fixed
 #KT-7296 In Progress
2015-12-28 11:13:37 +03:00
Alexey Sedunov 6abf13be41 Extract Function: Consider member property with invoke() a receiver candidate
#KT-9774 Fixed
2015-12-02 13:54:03 +03:00
Alexey Sedunov bdd495460b Extraction Engine: Properly retrieve declaration for overriden/delegated Java synthetic properties
#KT-9554 Fixed
2015-10-20 18:39:43 +03:00
Pavel V. Talanov 41c0895abb JetExtractionTest: adjust test data
after making some of builtin types serializable
2015-10-01 17:53:17 +03:00
Denis Zharkov 4850fd10f0 Regenerate test data containing rendered descriptors
Introduced '@' after each annotation
2015-09-18 10:14:39 +03:00
Alexey Sedunov 0a32e5a96d Extraction Engine: Support references to synthetic properties 2015-09-17 01:33:25 +03:00
Alexey Sedunov 767897dccf Extraction Engine: Replace receiver occurrences with 'this' when necessary 2015-09-17 01:33:22 +03:00
Michael Nedzelsky daa1ac1918 fix tests in org.jetbrains.kotlin.idea.refactoring.introduce 2015-09-08 02:05:46 +03:00
Alexey Sedunov 14c657d448 Extract Function: Consider reference "broken" if corresponding diagnostics are changed after code fragment extraction
#KT-8633 Fixed
2015-09-06 18:04:39 +03:00
Stanislav Erokhin aaebe70342 Improved logic of finding conflicts for refactoring actions 2015-08-27 12:01:08 +03:00
Alexey Sedunov c6f6637b25 Extract Function: Fix extraction of explicit/implicit invoke()
#KT-8116 Fixed
2015-06-27 13:58:04 +03:00
Alexey Sedunov d036edb5c6 Extraction Engine: Respect smart casts applied to "this" references
#KT-7447
2015-04-15 23:20:54 +03:00
Alexey Sedunov 9cb42944d1 Extraction Engine: Generate function/property accessor with expression body (whenever applicable)
#KT-6405 Fixed
2015-03-13 23:16:57 +03:00
Alexey Sedunov d54b261c61 Extract Function: Fix 'this' label (extension case)
#KT-5456 Fixed
2015-01-19 20:58:53 +03:00
Alexey Sedunov cb3328c052 Extract Function: Choose default visibility at analysis phase 2014-08-12 13:09:52 +04:00
Alexey Sedunov 3e3918ab6e Extract Function: Keep track of original parameter descriptors 2014-07-11 19:13:25 +04:00
Alexey Sedunov ca16f4231f Extract Function: Infer parameter type candidates
#KT-4940 Fixed
2014-06-23 21:10:12 +04:00
Alexey Sedunov 53c49b6333 Shorten References: Do not shorten qualified expression if receiver values are changed
#KT-5180 Fixed
2014-06-23 19:32:26 +04:00
Alexey Sedunov 3c5c0248a7 Extract Function: In case of top-level and member declarations place extracted function after the original container 2014-06-02 19:48:35 +04:00
Alexey Sedunov 0d90dcf010 Extract Function: Add test data 2014-04-17 19:01:20 +04:00