Alexey Sedunov
eb594a2897
Extract Function: Approximate non-resolvable types with nearest resolvable supertype when possible
...
#KT-7120 Fixed
2015-04-01 13:41:26 +03:00
Alexey Sedunov
a90d020859
Extraction Engine: Fix extraction of labeled and non-local returns
2015-04-01 13:41:24 +03:00
Alexey Sedunov
3bea49eedd
Change Signature: Fix processing of enum constructors
...
#KT-7170 Fixed
2015-04-01 13:41:23 +03:00
Alexey Sedunov
d65b55e147
Change Signature: Fix processing of lambda arguments
2015-04-01 13:41:22 +03:00
Denis Zharkov
717f850470
Setup spacing rules for primary ctor's parts
2015-03-31 20:20:22 +03:00
Evgeny Gerashchenko
83f2a08708
Added test with moving file used in Java to other package.
2015-03-31 18:14:00 +03:00
Evgeny Gerashchenko
a4d2d6506c
Removing import of removed package facade.
2015-03-31 18:13:21 +03:00
Evgeny Gerashchenko
f789933683
Fixed updating Java references on moved Kotlin top-level callables.
2015-03-31 18:13:20 +03:00
Alexey Sedunov
dcfefb0847
Extract Function: Do not extract extension function reference as parameter
2015-03-26 23:11:51 +03:00
Pavel V. Talanov
ed218c473a
Get rid of 'class object' usages in code and builtins
...
Replace some comments and library usages as well
2015-03-25 18:28:00 +03:00
Alexey Sedunov
a57be6dcab
Change Signature: Do not report conflict when parameter name clashes with suggested name of the receiver
2015-03-24 16:41:08 +03:00
Alexey Sedunov
93f00db871
Extraction Engine: Consider declarations when comparing descriptors
...
#KT-6960 Fixed
2015-03-24 16:41:05 +03:00
Alexey Sedunov
5c7debbf88
Change Signature: Support refactoring of primary/secondary constructor by delegation call reference
2015-03-21 03:28:54 +03:00
Alexey Sedunov
173a28a25e
Change Signature: Add tests for secondary constructors and delegation calls
2015-03-21 03:28:53 +03:00
Denis Zharkov
25de64c6ab
Support class rename in place of secondary ctor call
2015-03-18 10:56:31 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Evgeny Gerashchenko
510974e07c
Supported renaming default objects with default names.
2015-03-16 14:11:41 +03:00
Evgeny Gerashchenko
ccd1701f78
Supported renaming of default object. Named only objects are supported
...
yet.
2015-03-16 14:11:39 +03:00
Evgeny Gerashchenko
3a8ded5b58
Finding class by class id instead of fq name in rename tests.
2015-03-16 14:11:38 +03:00
Alexey Sedunov
40799a0a43
PSI Unifier: Unify references which correspond to the same declaration
...
#KT-5996 Fixed
2015-03-13 23:16:59 +03:00
Alexey Sedunov
bff709da10
Convert to Expression Body Intention: Do not remove declaration type if it affects the type of body expression
2015-03-13 23:16:58 +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
9d8cfd04d9
Extraction Engine: Suggest function names based on the name of the result variable (if applicable)
...
#KT-6291 Fixed
2015-03-13 23:16:55 +03:00
Stanislav Erokhin
3b92cab9e0
Changed containing declaration for PropertyDeclarationInnerScope
2015-03-12 17:11:43 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Alexey Sedunov
5517c6c539
Extraction Engine: Report invisible types in the generated declaration header
...
#KT-6734 Fixed
2015-03-06 14:37:25 +03:00
Alexey Sedunov
cab301e8e2
Introduce Property: Add tests for default values
2015-03-06 14:37:21 +03:00
Alexey Sedunov
1202e624ce
Extraction Engine: Assume internal visibility for trait members
2015-03-06 14:37:20 +03:00
Alexey Sedunov
652253b485
Introduce Property: Forbid lazy properties/properties with initializers in traits
2015-03-06 14:37:18 +03:00
Alexey Sedunov
79b64c6f9f
Introduce Property: Add test for name clash in the presence of anonymous initializer (was failing before ElementResolver fix)
2015-03-06 14:37:17 +03:00
Alexey Sedunov
4aac24956c
Extraction Engine: Skip named argument references while analyzing extractable code
...
#KT-6896 Fixed
2015-03-06 14:37:16 +03:00
Alexey Sedunov
5ae9bb600c
Introduce Property: Place property before its usages
2015-03-04 23:06:07 +03:00
Alexey Sedunov
6ae989e330
Introduce Property: Duplicate search & replace
2015-03-04 23:06:05 +03:00
Alexey Sedunov
5382504306
Extraction Engine: Support lazy properties and properties with initializer
2015-03-04 23:06:03 +03:00
Alexey Sedunov
03fada71d7
Introduce Property: Initial support (properties with getter)
2015-03-04 23:06:02 +03:00
Natalia Ukhorskaya
0391fbd764
Evaluate Expression: support anonymous objects evaluation
2015-03-04 12:42:59 +03:00
Pavel V. Talanov
989f07962b
Write to trace in case class qualifier is a short reference to default object
...
This allows to fix some cases when there is a difference between explicit and short reference to default object
Fix shorten reference, optimize imports and import insert helper for default objects
ShortenReferences always transforms default object references to shorter form for now
Fix DescriptorUtils#getFqName() for default objects (affects test data mostly)
Fix DescriptorUtils#getImportableDescriptor()
2015-03-03 13:04:30 +03:00
Alexey Sedunov
95675176df
Change Signature: Add test for KT-5784 "Generate import on function refactoring when parameter changes type"
...
#KT-5784 Fixed
2015-02-20 19:08:22 +03:00
Alexey Sedunov
ecd9ee45c8
Move: Do not process 'super' references
...
#KT-6769 Fixed
2015-02-20 17:28:33 +03:00
Valentin Kipyatkov
0a363fc371
Import is placed in some specific order on adding
2015-02-19 11:07:02 +03:00
Valentin Kipyatkov
20cf100714
Shorten references inserts imports for global functions and properties too
2015-02-19 11:07:01 +03:00
Valentin Kipyatkov
3710d4105c
Do not shorten too much
2015-02-12 18:18:06 +03:00
Alexey Sedunov
9f3ba50dc5
Extract function: Do not report conflicts for fake overrides/delegates of the same callable declaration
2015-02-11 14:45:12 +03:00
Alexey Sedunov
96866a108f
Change Signature: Support conversion between extension and non-extension functions
2015-02-11 14:40:26 +03:00
Andrey Breslav
da238cffaf
Visibility of local classes is LOCAL
2015-01-29 16:07:29 +03:00
Alexey Sedunov
70b202dfa6
Extract Function: Do not extract extension receiver from 'implicit invoke'
...
call
#KT-6302 Fixed
2015-01-19 20:58:54 +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
8d40ca1a74
Extract Function: Merge jumps with default exits if all exit points are equivalent
...
#KT-6598 Fixed
2015-01-19 20:58:51 +03:00
Alexey Sedunov
9278dee1a4
Pseudocode: Bind nondeterministic jump caused by local declaration to declaration iself instead of its parent element
...
#KT-6261 Fixed
#KT-6416 Fixed
2015-01-19 20:58:50 +03:00
Valentin Kipyatkov
c915eb4eac
KT-6566 Generate Override/Implement method does not work for locally declared classes
...
#KT-6566 Fixed
2015-01-14 20:59:23 +03:00