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
Mikhail Glukhikh
51fba03253
Experimental fixes: introduce "Add @UseExperimental" #KT-22760 Fixed
2018-05-23 19:00:51 +03:00
Mikhail Glukhikh
f404d6c97a
Experimental fixes: introduce "add annotation" (KT-22760)
2018-05-23 18:59:22 +03:00
Mikhael Bogdanov
f826a253e3
Generate @JvmDefault for property accessors in LIGHT_CLASS MODE
2018-05-23 13:55:38 +02:00
Nikolay Krasko
fdc6372776
Remove runtime usage from unused receiver parameter tests
2018-05-23 01:41:02 +03:00
Toshiaki Kameyama
e7a9614fb5
"Unused receiver parameter" inspection: Fix false negative in same class (KT-23897)
...
#KT-23897 Fixed
2018-05-23 01:41:01 +03:00
Toshiaki Kameyama
1d0a11cecd
"Remove parameter" quick fix makes generic function call incompilable when type could be inferred from removed parameter only
...
#KT-23511 Fixed
2018-05-22 17:33:26 +03:00
Toshiaki Kameyama
8271e85dbb
ReplaceArrayOfWithLiteralInspection: Remove unnecessary parentheses
...
#KT-21878 Fixed
2018-05-22 17:33:25 +03:00
Mikhail Glukhikh
c95ed9fd20
Result unused: a few enhancements for PSI checks
...
Related to KT-15063, KT-24433
2018-05-22 17:13:48 +03:00
Mikhail Glukhikh
b8375d4864
Extend "async result unused" to "Deferred result unused" #KT-15063 Fixed
2018-05-22 17:07:05 +03:00
Mikhail Glukhikh
ffcfa51fbf
Introduce inspection "async result unused" #KT-24433 Fixed
2018-05-22 16:39:14 +03:00
Mikhail Glukhikh
2a9108bcd3
Fix "Too long character literal -> string" in ILLEGAL_ESCAPE
...
Related to #KT-23788
2018-05-22 16:38:29 +03:00
Toshiaki Kameyama
85cd1e938e
Add "Too long character literal -> string" fix to ILLEGAL_ESCAPE error
...
So #KT-23788 Fixed
2018-05-22 16:19:41 +03:00
Mikhail Glukhikh
6d39eb9239
Unnecessary parentheses in function call with lambda: simplify
...
Related to KT-23452
2018-05-22 16:18:42 +03:00
Toshiaki Kameyama
b8f3d588b7
Unnecessary parentheses in function call with lambda: fix false positive
...
So #KT-23452 Fixed
2018-05-22 15:45:02 +03:00
Mikhail Zarechenskiy
1b809413d2
[NI] Fix updated type for lambda, use original type for substitution
...
#KT-24367 Fixed
2018-05-21 17:56:11 +03:00
Toshiaki Kameyama
5564102a3e
Add "Create secondary constructor" quick fix on NONE_APPLICABLE error #KT-22371 Fixed
2018-05-18 18:11:13 +03:00
Alexey Sedunov
eb14625851
Configuration: Detect platform of libraries added via maven artifact ids
...
#KT-20511 Fixed
2018-05-18 12:09:39 +03:00
Nikolay Krasko
3ef67e1d9d
Inspection for highlighting problem API usage
...
It's planned to use this inspection for show patchset branches problems
during development process.
2018-05-17 12:27:29 +03:00
Mikhail Glukhikh
6a1ddd6c70
Lambda to anonymous: report only from left brace to arrow
2018-05-16 13:01:38 +03:00
Mikhail Glukhikh
0f2879aa32
Rename: SOURCE_CODE_SHORT_NAMES_IN_TYPES -> *_SHORT_NAMES_NO_ANNOTATIONS
2018-05-16 13:01:37 +03:00
Mikhail Glukhikh
1ba99fde56
"lambda to anonymous": add tests for qualified types (KT-7710)
2018-05-16 13:01:37 +03:00
Mikhail Glukhikh
bd6fdb743c
Lambda to anonymous function: use callable builder (KT-7710)
2018-05-16 13:01:36 +03:00
Toshiaki Kameyama
8a20d1bf01
Add intention to convert lambda to anonymous function #KT-7710 Fixed
2018-05-16 13:01:36 +03:00