Alexander Udalov
012a2971ff
Quick-fix to add type to LHS of incorrect callable references
2015-10-03 04:37:05 +03:00
Alexander Udalov
661f4efc68
Forbid callable references to members and extensions with empty LHS
...
This syntax is reserved to be likely used in the future as a shorthand for
"this::foo" where the resulting expression doesn't take the receiver as a
parameter but has "this" already bound to it
2015-10-03 04:37:04 +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
Alexey Sedunov
896e1d8bc9
Rename: Drop 'override' keyword when renaming function/property without bases
...
#KT-4790 Fixed
2015-10-01 17:35:27 +03:00
Alexey Sedunov
2f251b9216
Rename: Drop 'operator' keyword if new name doesn't correspond to any convention
...
#KT-9357 Fixed
2015-10-01 17:35:26 +03:00
Alexey Sedunov
1f6f617546
Create from Usage: Suggest synthetic function classes as extension receivers
2015-10-01 17:35:25 +03:00
Alexey Sedunov
1d83d75a82
Create from Usage: Use function form when rendering FunctionN types
...
#KT-7522 Fixed
2015-10-01 17:35:24 +03:00
Alexey Sedunov
605802847a
Move Declarations: Fix processing of self-references
...
#KT-5847 Fixed
2015-10-01 17:35:23 +03:00
Alexey Sedunov
e3d8d819da
Inline Variable: Var support
...
#KT-5169 Fixed
2015-10-01 17:35:22 +03:00
Alexey Sedunov
007c7c17f0
Create parameter: Forbid inplace refactoring if occurrences contain out-of-parentheses lambda arguments. Fix lambda argument replacement
...
#KT-9307 Fixed
2015-10-01 17:35:21 +03:00
Alexey Sedunov
b805645489
Change Signature: Support receiver <-> parameter conversion for function expressions
...
#KT-9309 Fixed
2015-10-01 17:35:20 +03:00
Alexey Sedunov
2b354cd4db
Create parameter: Look for containing function if no class is found. Support secondary constructors
...
#KT-9322 Fixed
2015-10-01 17:35:19 +03:00
Alexey Sedunov
78f7e6b459
Extraction Engine: Support type parameter references
...
#KT-7260 Fixed
2015-10-01 17:35:18 +03:00
Alexey Sedunov
aa080bf201
Create from Usage: Forbid for parameters/local variables when reference is not an identifier
...
#KT-9305 Fixed
2015-10-01 17:35:16 +03:00
Alexey Sedunov
9ec87c01ab
Property <-> Function Conversion: Add/remove 'get'/'is' prefixes automatically
...
#KT-8812 Fixed
2015-10-01 17:35:12 +03:00
Alexey Sedunov
1b9bbf0bb6
Move Declaration to Separate File: Process internal references since imports may be necessary in the new file
2015-10-01 17:35:11 +03:00
Zalim Bashorov
fca9b51548
Revert "extend test for code cleanup with changing visibility from private to internal for declarations, which are used outside of their file."
...
This reverts commit 9fd968d59e .
2015-10-01 14:57:26 +03:00
Zalim Bashorov
073b10072a
Minor: fix testdata
2015-10-01 14:57:26 +03:00
Zalim Bashorov
9256682cc5
Fix quickfix and tests
2015-10-01 14:57:26 +03:00
Denis Zharkov
a101fffd9a
Change INTERFACE_IMPL_CLASS_NAME: $TImpl -> DefaultImpls
2015-09-30 08:19:51 +03:00
Mikhail Glukhikh
4e91f2ffb7
'open' + 'private' and 'abstract' + 'private' are now incompatible for functions and properties #KT-9324 Fixed
2015-09-29 13:05:11 +03:00
Mikhail Glukhikh
3ad628522a
ReplaceWith now functions correctly in built-ins #KT-9351 Fixed
2015-09-28 15:38:05 +03:00
Dmitry Jemerov
ee1175d5e5
fix 'operator' modifier inspection
...
#KT-9349 Fixed
2015-09-28 14:35:41 +02:00
Natalia Ukhorskaya
7582f1f454
Rewrite DebuggerTests (do not use FrameTree)
2015-09-28 11:38:06 +03:00
Natalia Ukhorskaya
5c04959871
Debugger: fix evaluation for local classes
...
#KT-5104 Fixed
2015-09-28 09:34:54 +03:00
Zalim Bashorov
c7c7382b8e
Minor: fix testdata
2015-09-25 21:16:02 +03:00
Ilya Gorbunov
8de40c01b9
Fix changed stdlib source file names in stepping tests.
2015-09-25 21:10:15 +03:00
Dmitry Jemerov
3d0e91065a
quickfix for usages of operators that don't have the proper annotation
2015-09-25 20:00:29 +02:00
Dmitry Jemerov
8b0ccce4f1
code review; add 'operator' also to next() and hasNext(); check toplevel functions
2015-09-25 20:00:28 +02:00
Dmitry Jemerov
e0f8d68a5f
add 'operator' modifier when creating next() and hasNext() from usage
2015-09-25 20:00:28 +02:00
Dmitry Jemerov
41d1cf6083
check return type of contains() and compareTo()
2015-09-25 20:00:26 +02:00
Dmitry Jemerov
3dbb74bf0c
teach 'create from usage' to add 'operator' modifier when necessary
2015-09-25 20:00:26 +02:00
Dmitry Jemerov
bda0bd1de1
quickfix to add 'operator' keyword to operator-like functions
2015-09-25 20:00:19 +02:00
Dmitry Jemerov
61d78e0880
tests for "Add 'const' modifier"
2015-09-25 19:14:54 +02:00
Dmitry Jemerov
48bcc93ec2
revert incorrect testdata changes
2015-09-25 19:14:53 +02:00
Dmitry Jemerov
86a01a9a0d
update Java usages when adding 'const' modifier; make the action available as intention
2015-09-25 19:14:53 +02:00
Dmitry Jemerov
250456ab4b
add quickfix for NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION
2015-09-25 19:14:52 +02:00
Dmitry Jemerov
32e6a6e3a1
inspection and quickfix to replace usages of deprecated package facades
2015-09-25 18:29:06 +02:00
Dmitry Jemerov
9de74921ca
code review
2015-09-25 18:25:38 +02:00
Dmitry Jemerov
4e7236529c
"move assignment to initializer" quickfix for assigning to properties in constructors/init blocks
2015-09-25 18:25:37 +02:00
Dmitry Jemerov
e1acc8744d
"introduce backing property" intention
2015-09-25 18:25:37 +02:00
Dmitry Jemerov
dadef12723
backing field migration fixes
2015-09-25 18:25:36 +02:00
Yan Zhulanow
6db9344659
Fix compiler tests
2015-09-25 19:20:20 +03:00
Mikhail Glukhikh
9ccf1a1729
Partial rollback: 'private' is no more deprecated in interfaces, some tests rolled back accordingly
2015-09-25 18:57:52 +03:00
Alexey Sedunov
594e4e5c31
Resource Bundles: Inspections on invalid property key/resource bundle references
...
#KT-6946 In Progress
2015-09-25 17:18:01 +03:00
Alexey Sedunov
44fd9d17ed
Resource Bundles: Add Rename tests for bundle files and properties
...
#KT-6946 In Progress
2015-09-25 17:18:00 +03:00
Alexey Sedunov
5af4101f7d
Resource Bundles: Implement references on Kotlin string literals
...
#KT-6946 In Progress
2015-09-25 17:17:59 +03:00
Natalia Ukhorskaya
c872f301ff
Fix steping for inline functions with reified parameters
2015-09-25 16:01:36 +03:00
Natalia Ukhorskaya
33b5e6b255
Fix stepping for inline functions inside when, if, try
2015-09-25 16:01:35 +03:00
Valentin Kipyatkov
c05232bbb7
J2K: generate accessor bodies in expression form if possible
2015-09-25 13:02:46 +03:00