Mikhail Glukhikh
88974ee32b
Can be private: simplification
...
Related to KT-22030
2018-06-13 18:12:31 +03:00
Toshiaki Kameyama
7786896e9b
Can be private: don't report when object or subclass calls the function
...
Questionable
So #KT-22030 Fixed
2018-06-13 18:12:30 +03:00
Mikhail Glukhikh
6c8276b701
Do not report "can be private" on annotated declarations #KT-24422 Fixed
2018-06-13 18:12:28 +03:00
Mikhail Glukhikh
d1155070a7
Do not report "can be private" on expect or actual declarations
...
So #KT-24374 Fixed
So #KT-24537 Fixed
2018-06-13 18:12:27 +03:00
Mikhail Glukhikh
a09f6e14a5
Do not suggest "convert to object" for sealed sub-classes with state
...
So #KT-24816 Fixed
2018-06-13 18:12:18 +03:00
Yan Zhulanow
5f43808cfd
Revert "Debugger: Fix breakpoints and stepping for inline-only function lambda arguments (#KT-23064)"
2018-06-08 19:37:20 +03:00
Yan Zhulanow
4dfcb72fa1
Print source file location/contents if possible (EA-120038)
2018-06-08 19:37:20 +03:00
Alexey Sedunov
0ea1784d33
Introduce Parameter: Add suspend to lambdas with nested suspend-calls
...
#KT-24712 Fixed
2018-06-08 14:34:23 +03:00
Alexey Sedunov
8a838ab5bb
Change Signature: Fix parameter name for kt-function overriding Java's
...
#KT-24763 Fixed
2018-06-08 14:34:23 +03:00
Alexey Sedunov
8978c4b9e8
Rename: Fix processing of references to synthetic Java properties
...
#KT-17742 Fixed
2018-06-08 14:34:23 +03:00
Alexey Sedunov
862dc76ed9
Rename: Fix processing of overriding methods with mangled names
...
#KT-24460 Fixed
2018-06-08 14:34:22 +03:00
Alexey Sedunov
eea9113d1c
Introduce Type Alias: Fix replacement of references to nested classes
...
#KT-15159 Fixed
2018-06-08 14:34:22 +03:00
Pavel V. Talanov
a8a490ea5a
Test multifile facades in mpp projects
2018-06-06 21:04:00 +02:00
Pavel V. Talanov
8185b1bf02
Test accessing file facades from java in mpp project
2018-06-06 21:03:57 +02:00
Pavel V. Talanov
1be477c816
Fix "add member" quick fix when invoked from java on common class
...
#KT-24115 Fixed
2018-06-06 21:03:56 +02:00
Mikhail Glukhikh
24008cdffb
If to when: do not add label to outer loop if not necessary
...
So #KT-24767 Fixed
2018-06-05 17:02:35 +03:00
Toshiaki Kameyama
b4962a1880
Add getter: don't suggest when property has no type or initializer
...
So #KT-24632 Fixed
2018-06-05 16:31:28 +03:00
Toshiaki Kameyama
8969e7a6e1
"Remove redundant toString": fix false positive for nested nullable
...
So #KT-24557 Fixed
2018-06-05 16:03:54 +03:00
Toshiaki Kameyama
4038d4d507
Explicit this inspection: suggest also for synthetic Java property
...
So #KT-22089 Fixed
2018-06-05 15:52:16 +03:00
Toshiaki Kameyama
6b37e40f99
Add quick-fix for type variance conflict #KT-23082 Fixed
2018-06-05 15:45:53 +03:00
Toshiaki Kameyama
ddf647ae96
Remove redundant receiver in "Change function signature" quick fix
...
So #KT-12298 Fixed
2018-06-05 15:20:18 +03:00
Toshiaki Kameyama
2c59f96ca4
Introduce "Add remaining when branches" intention #KT-23306 Fixed
2018-06-05 15:19:09 +03:00
Toshiaki Kameyama
bde9a57c9e
Don't suggest map{}.filterNotNull() -> mapNotNull{} on primitive array
...
So #KT-21556 Fixed
2018-06-05 15:18:28 +03:00
Toshiaki Kameyama
e770aed084
Don't suggest "Remove variable" for property with function initializer
...
So #KT-23752 Fixed
2018-06-05 15:17:14 +03:00
Natalia Selezneva
62929ba6f5
Fix AE in scratch for long lines
...
^KT-24638 Fixed
2018-06-05 08:41:17 +03:00
Alexey Sedunov
3c267b206b
Move: Fix exception on moving top-level declaration from/to script file
...
#KT-20260 Fixed
2018-06-04 20:17:43 +03:00
Pavel V. Talanov
dae8b12872
Mpp: fix production internals not visible from tests in platform modules
...
Caused by change in mpp resolve
Happened in platform modules that have expectedBy dependencies
#KT-24729 Fixed
2018-06-01 14:15:04 +02:00
Nikolay Krasko
a5593f1f31
Render entries with outer classifiers in call hierarchy (KT-22698)
...
#KT-22698 Fixed
2018-06-01 12:08:41 +03:00
Alexey Sedunov
fbb4914bfb
Intentions: Fix insertion of necessary lambda parameter for run/let and apply/also conversions
...
#KT-22931 Fixed
2018-05-31 15:22:32 +03:00
Mikhael Bogdanov
0a26f527f2
Minor. Fix test data
2018-05-29 11:26:36 +02:00
Alexey Sedunov
610cc3867b
Create Class from Usage: Filter out usages in super type entry list
...
#KT-22918 Fixed
2018-05-25 23:03:26 +03:00
Alexey Sedunov
35517a8253
Quick Fixes: Fix adding parameter to Java constructor
...
#KT-24574 In Progress
2018-05-25 23:03:26 +03:00
Toshiaki Kameyama
0100dfb2fd
Add "Remove 'lateinit'" quickfix for INAPPLICABLE_LATEINIT_MODIFIER
...
So #KT-24295 Fixed
2018-05-24 17:26:54 +03:00
Mikhail Glukhikh
f8f3b1c6f1
Provide language version settings correctly for platform modules
...
So #KT-24546 Fixed
2018-05-24 16:40:52 +03:00
Mikhail Glukhikh
fbb0a3e06c
Convert async {}.await() to withContext(DefaultDispatcher) {}
...
This fixes incorrect transformation related to KT-24235
2018-05-24 15:15:25 +03:00
Mikhail Glukhikh
4ed4754d80
Additional tests for KT-21131
2018-05-24 15:15:23 +03:00
Mikhail Glukhikh
f3c2dd0526
Code inliner: keep main property if it can have side effects
...
So #KT-24165 Fixed
2018-05-24 15:15:22 +03:00
Mikhail Glukhikh
93a510c05b
Code inliner: move lambda outside parentheses always when possible
...
So #KT-24215 Fixed
2018-05-24 15:15:21 +03:00
Mikhail Glukhikh
2d7e274860
Fix importing scope order in ReplaceWithAnnotationAnalyzer
...
So #KT-22615 Fixed
2018-05-24 15:15:13 +03:00
Natalia Selezneva
98fe8eaa42
Minor: add test that output at scratch line with spaces at the beginning is aligned properly
2018-05-24 15:07:37 +03:00
Natalia Selezneva
db63877690
Scratch: take into account only lines with expressions calculating inlay insert offset
2018-05-24 15:07:37 +03:00
Natalia Selezneva
5a7b58c615
Substring long scratch output with new lines
...
^KT-24016 Fixed
2018-05-24 15:07:37 +03:00
Natalia Selezneva
94bb19c765
Provide line info for scratch output in scratch toolwindow
...
^KT-24016
2018-05-24 15:07:37 +03:00
Natalia Selezneva
a505a948d2
Scratch tests: add check for toolwindow output
2018-05-24 15:07:37 +03:00
Natalia Selezneva
e3b6fad2cd
Scratch: test alignment of inlays
2018-05-24 15:07:37 +03:00
Mikhail Glukhikh
d7bb8a7a21
Do not suggest -Xuse...=kotlin.Experimental in experimental world
2018-05-24 10:50:28 +03:00
Mikhail Glukhikh
f2989ee3a6
Experimental fixes: introduce experimental enabling #KT-24243 Fixed
2018-05-24 10:50:28 +03:00
Mikhail Glukhikh
c77c8d872c
Experimental fixes: introduce "add -Xuse-experimental" (KT-22760)
2018-05-24 10:50:27 +03:00
Natalia Selezneva
2b322ecf9c
Do not store external dependencies in ScriptModuleInfo
...
There is a cache from ScriptModuleInfo to ScriptDependenciesInfo.
In case when only script dependencies are changed we won't recreate the facade for them and will obtain external dependencies for ScriptModuleInfo stored in ScriptDependenciesInfo. So we cannot store external dependencies inside ScriptModuleInfo. The same problem is with relatedModuleSourceInfo.
2018-05-24 08:47:32 +03:00
Mikhail Glukhikh
a76bb80e4d
Experimental fixes: additional tests, handle local declarations
2018-05-23 19:06:55 +03:00