Mikhail Zarechenskiy
c032a02373
Prohibit assigning single elements into varargs in named form
...
#KT-20588 Fixed
#KT-20589 Fixed
2018-07-06 15:23:31 +03:00
Denis Zharkov
6f4aa2296d
Implement quickfix wrapping elements in collection literal calls
...
#KT-25238 Fixed
2018-07-06 10:06:56 +03:00
Mikhail Zarechenskiy
5869274ff1
Disable errors in mod/rem tests that depend on language feature
...
Otherwise these tests will fail with LV=1.3
2018-07-05 12:59:43 +03:00
Alexander Podkhalyuzin
7ee055fccc
Merge pull request #1745 from JetBrains/rr/suppressor
...
Introduce KotlinInspectionSuppressor
2018-07-03 14:37:39 +03:00
Mikhail Zarechenskiy
2e88f5c47d
Prohibit operator mod as declaration and calls that resolved via it
...
#KT-24197 Fixed
2018-07-02 16:12:36 +03:00
Mikhail Glukhikh
537655a4c2
KotlinInspectionSuppressor: introduce more precise quick-fix names
...
Related to KT-11154, KT-25169
2018-06-29 11:58:28 +03:00
Mikhail Glukhikh
a51bda64dc
Add a pair of tests for KT-11154
2018-06-29 11:44:48 +03:00
Mikhail Zarechenskiy
dc7678a700
Use smartcast info that related to call in change signature quick fix
...
There is an inconsistency on how we record smartcasts in old and new
inference, but we definitely should use all possible information about
smartcasts in quick-fixes
#KT-25144 Fixed
2018-06-28 13:14:18 +03:00
Mikhail Glukhikh
152327d69d
Fix erroneous full resolve cache filling
...
Before this commit, we could store partial resolve results in full
resolve cache (for some declarations, e.g. primary constructors).
This may be done iff current partial resolve mode provides all results
from full resolve mode (CFA results & diagnostics).
Otherwise we should not do it.
This fixes four quick-fix tests on CreateTypeParameter
So #KT-23860 Fixed
So #KT-22758 Fixed
2018-06-20 17:18:18 +03:00
Toshiaki Kameyama
1e31d24e9b
Add "Remove 'const'" quickfix for TYPE_CANT_BE_USED_FOR_CONST_VAL
...
So #KT-24815 Fixed
2018-06-19 12:48:13 +03:00
Toshiaki Kameyama
c344354395
Add quick-fix for 'is' absence in when #KT-18810 Fixed
2018-06-19 12:48:13 +03:00
Toshiaki Kameyama
2427406a8f
Add 'Change to val' quickfix for delegates without setValue
...
So #KT-13688 Fixed
2018-06-19 12:48:13 +03:00
Toshiaki Kameyama
2669193755
Use "Move to companion" quick fix for CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT
...
So #KT-22871 Fixed
2018-06-19 12:48:12 +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
e770aed084
Don't suggest "Remove variable" for property with function initializer
...
So #KT-23752 Fixed
2018-06-05 15:17:14 +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
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
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
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
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
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
Toshiaki Kameyama
5564102a3e
Add "Create secondary constructor" quick fix on NONE_APPLICABLE error #KT-22371 Fixed
2018-05-18 18:11:13 +03:00
Mikhail Glukhikh
6a1ddd6c70
Lambda to anonymous: report only from left brace to arrow
2018-05-16 13:01:38 +03:00
Toshiaki Kameyama
8a20d1bf01
Add intention to convert lambda to anonymous function #KT-7710 Fixed
2018-05-16 13:01:36 +03:00
Mikhail Glukhikh
8c3e787584
Convert KFunction to Function in type mismatch fixes #KT-16770 Fixed
2018-05-15 13:22:48 +03:00
Mikhail Glukhikh
c61b5671c9
Fix testSuspend (protect it from flaky error about disabled coroutines)
2018-05-15 11:30:29 +03:00
Alexey Sedunov
a5a13b74f5
Create from Usage: Support smart casts on explicit receivers
...
#KT-24069 Fixed
2018-05-11 16:05:20 +03:00
Alexey Sedunov
a92a4a2a6d
Add Parameter Fix: Support smart casts
...
#KT-24207 Fixed
2018-05-11 16:05:19 +03:00
Alexey Sedunov
a4a10c7ba4
Create from Usage: Fix generation of extensions with nullable receiver
...
#KT-23796 Fixed
2018-05-11 16:05:19 +03:00
Toshiaki Kameyama
b6564ed19a
"Wrap with let": fix for nullable extension function call #KT-6364 Fixed
2018-05-10 20:28:14 +03:00
Toshiaki Kameyama
3aab68d635
Add "Make variable immutable" quickfix for const #KT-24263 Fixed
2018-05-08 18:37:10 +03:00
Toshiaki Kameyama
633679ac16
Preserve comments in "Remove variable" quick fix #KT-23753 Fixed
2018-05-03 18:09:22 +03:00
Toshiaki Kameyama
5204c73bec
Quick-fix "use spread operator": make working with mapOf #KT-14556 Fixed
2018-05-03 17:11:33 +03:00
Mikhail Glukhikh
c69dd98c86
Build fix: quick-fix tests (forgotten actions)
2018-04-20 20:55:27 +03:00
Vyacheslav Gerasimov
4299455dc1
as32: Update to AS 3.2 C10
2018-04-13 21:33:03 +03:00
Toshiaki Kameyama
52d72ab920
Fix AE exception in "Convert too long character literal to string"
...
So #KT-23608 Fixed
2018-04-11 17:00:38 +03:00
Felix Guo
9539212180
Take Java source file into account in "Add annotation target"
...
So #KT-22860 Fixed
2018-04-11 17:00:37 +03:00
Vyacheslav Gerasimov
06efb037fd
as31: Fix test data for testAddArrayOfTypeForJavaAnnotation
2018-04-11 16:28:20 +03:00