Valentin Kipyatkov
2b3694a77e
Do not drop use of SAM-constructor when it's required for labeled return
2015-10-30 17:25:35 +03:00
Valentin Kipyatkov
34298190b3
Use unaryPlus() and unaryMinus() instead of plus() and minus() + no identityEquals()
2015-10-30 17:25:35 +03:00
Valentin Kipyatkov
c5e13ebc68
Minor corrections on code review
2015-10-30 17:25:34 +03:00
Natalia Ukhorskaya
e1e845cef1
Fix conditional breakpoints
2015-10-30 14:53:06 +03:00
Nikolay Krasko
41cbc12d7f
Don't propose to make objects abstract (KT-9795)
...
#KT-9795 Fixed
2015-10-29 14:37:15 +03:00
Nikolay Krasko
8bef335b71
Don't propose to generate Any methods in interface to avoid METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACE error (KT-9796)
...
#KT-9796 Fixed
2015-10-29 14:37:14 +03:00
Natalia Ukhorskaya
932542891b
Stepping for inline functions: add test for last statement in for
2015-10-28 14:23:52 +03:00
Natalia Ukhorskaya
de5c3733e9
Do not use visitor for counting lambda ordinal for debugger
2015-10-28 14:23:52 +03:00
Natalia Ukhorskaya
eac6fdbaa0
Fix linenumbers in tests
2015-10-28 14:23:51 +03:00
Natalia Ukhorskaya
e534636f03
Support multiple breakpoints at one line (especially for lambdas)
2015-10-28 14:23:49 +03:00
Natalia Ukhorskaya
c071bf5c63
Fix lines for FieldBreakpoints in tests
2015-10-28 14:23:48 +03:00
Natalia Ukhorskaya
17a564495d
Stepping for inline function: filter out inline function body lines from step over
...
#KT-9665 Fixed
2015-10-28 14:23:47 +03:00
Natalia Ukhorskaya
66a5351cd0
Do not show fake local variables for inline function/argument in Variables View for Debugger
2015-10-28 14:23:45 +03:00
Natalia Ukhorskaya
cdcafb8199
Fix stepping for inline function inside while statement
2015-10-28 14:23:45 +03:00
Natalia Ukhorskaya
dd30462fd1
Support smart step into for inline function arguments
2015-10-28 14:23:42 +03:00
Natalia Ukhorskaya
77f1a3a7f3
Minor: change test directives
2015-10-28 14:23:40 +03:00
Nikolay Krasko
0fcb51f0a2
KT-1478 Quick fix for using nullable collection in "for in" expression
...
#KT-1478 Fixed
2015-10-28 13:39:49 +03:00
Nikolay Krasko
911432c99c
Use default render to check are all errors mentioned in tests. It's far more easier to read.
2015-10-28 13:39:46 +03:00
Nikolay Krasko
b8c72ec4e9
Suggest to add !! as a quick-fix for type mistmach
2015-10-28 13:39:44 +03:00
Valentin Kipyatkov
891e033d5b
KT-9664 Add quickfix to convert a piece of code to pretty look SAM-style
...
#KT-9664 Fixed
2015-10-27 15:07:59 +03:00
Dmitry Petrov
09f0b3fe87
KT-9721:
...
- Kotlin/JS still uses package facades.
Handle them properly in StubClassBuilder parentStack.
- Generate backend-related diagnostics in IDE
using light class generation for file facades.
- Drop PackageFacadeStubCache.
2015-10-26 19:37:52 +03:00
Valentin Kipyatkov
0b34fecf94
Fixed test data but template macro "kotlinSuggestVariableName()" must be completely rewritten
2015-10-26 19:30:02 +03:00
Alexey Sedunov
8d3296e08d
Change Signature: Search & process as-property usages of Java methods (This ixes some muted tests on Change Signature for properties).
...
Improve test data
2015-10-24 19:50:55 +03:00
Alexey Sedunov
ad0c12935b
Find Usages: Include super declarations when highliting usages in the current file
2015-10-24 19:50:54 +03:00
Alexey Sedunov
9c360ef05a
Find Usages: Look for as-property usages of Java methods
2015-10-24 19:50:53 +03:00
Alexey Sedunov
3fd6864461
Extraction Engine: When extracting to enum class body, place new declaration after the last entry
...
#KT-9629 Fixed
2015-10-24 19:50:52 +03:00
Alexey Sedunov
40f2a983cc
Formatter: Spacing before after semicolon in enum classes
2015-10-24 19:50:51 +03:00
Alexey Sedunov
ca87e7933f
Move: Drop Java on-demand static imports of facade class members when original facade is eliminated due to Move refactoring
...
#KT-9624 Fixed
2015-10-24 19:50:48 +03:00
Alexey Sedunov
07259fa090
Generate Secondary Constructor: Fix test data loading. Add test with non-generic Java superclass
2015-10-24 19:50:47 +03:00
Nikolay Krasko
3c07bc3df7
Import all components and delegates accessors if possible
2015-10-23 22:07:52 +03:00
Michael Bogdanov
18f3eb87e4
INSTANCE field deprecated in companion object
...
Fix for KT-9692: Deadlock between <clinit> of a class (KtSimpleNameExpressionImpl) and <clinit> of its companion object
#KT-9692 Fixed
2015-10-23 17:39:27 +03:00
Svetlana Isakova
7150be7c67
Minor: fixed error message
2015-10-22 19:09:46 +03:00
Valentin Kipyatkov
612f9b1041
Comments and formatting preseving added
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov
311bd5f25d
One more test added
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov
a3d9085ddd
Disabled "Convert to get/set call" intention where it did not work correctly anyway
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov
c6978d6b69
KT-9450 «Replace overloaded operator with function call» breaks code for index access result saved to variable
...
#KT-9450 Fixed
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov
66310806ca
KT-9628 Intention&inspection to replace use of "set" operator function with []
...
#KT-9628 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov
852579e7f3
Renamed class
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov
255373162d
KT-9666 Inner classes do not appear in type completion
...
#KT-9666
2015-10-22 18:48:15 +03:00
Dmitry Petrov
829fc6938a
KT-9547: private package member can conflict only with the members
...
declared in the same file.
Cleanup OverloadUtil stuff.
Update testData.
2015-10-22 10:45:49 +03:00
Mikhail Glukhikh
d6988ad69e
Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed
2015-10-21 16:36:55 +03:00
Nikolay Krasko
eb2feeeb16
Fixes after review in imports for additional expressions
2015-10-21 14:06:05 +03:00
Nikolay Krasko
2f26480e6b
Auto-imports for index functions, += like operators, invoke, delegates and components
...
#KT-9482 Fixed
#KT-9397 Fixed
#KT-8060 Fixed
2015-10-21 14:06:04 +03:00
Alexey Sedunov
3d88df73e0
Minor: Fix spelling of intention text
...
#KT-9639 Fixed
2015-10-20 18:39:48 +03:00
Alexey Sedunov
929d06c86f
Create from Usage: Implement 'Create property as constructor parameter' quick-fix
...
#KT-8426 Fixed
2015-10-20 18:39:47 +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
Alexey Sedunov
84aa4e7664
Create from Usage: Fix rendering of receiver type reference
...
#KT-9559 Fixed
2015-10-20 18:39:40 +03:00
Mikhail Glukhikh
3151d4ca9d
Check of type parameter bounds consistency #KT-9438 Fixed
2015-10-20 11:02:19 +03:00
Dmitry Jemerov
49033e0002
rename Jet* classes to Kt*
2015-10-19 21:35:30 +02:00
Alexey Tsvetkov
5e90bafe18
Build stubs for modifiers
2015-10-19 20:45:02 +03:00