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
Vyacheslav Gerasimov
8d3f71a04f
172: Revert "Quick Fixes: Support cross-language "Create from Usage" with Kotlin target"
...
This reverts commit 908bf71
2018-04-11 16:28:09 +03:00
Nikolay Krasko
a7d705b5d8
172: Revert "Fix inAnnotation test in 173 branch"
...
This reverts commit 955842f2009a2c5aa9ac955340696bd7e1a2651d.
2018-04-11 16:27:58 +03:00
Mikhael Bogdanov
c5d4f22e4f
Add quick fix for adding @JvmDefault annotation
2018-04-09 18:13:36 +02:00
Toshiaki Kameyama
2d4ef8d1e6
Allow "add constructor invocation" for sealed top-level inheritors
...
So #KT-23320 Fixed
2018-04-03 19:49:32 +03:00
Dmitry Jemerov
a495c2e5ea
Don't run analysis in SpecifyTypeExplicitlyIntention.isAvailable()
...
If type is invalid, show error hint when action is invoked
2018-04-03 18:37:33 +02:00
Mikhail Glukhikh
804d340c5f
Fix more broken QF tests
2018-03-23 15:26:21 +03:00
Mikhail Glukhikh
e937a350fe
Fix broken QF tests
2018-03-23 14:57:33 +03:00
Toshiaki Kameyama
a67068d37e
Suggest "Add annotation target" quick fix also for field use-site
...
So #KT-23227 Fixed
2018-03-22 10:30:46 +03:00
Mikhail Zarechenskiy
4ebd11a7ae
Refactoring: rename parameter to argument for annotation diagnostics
2018-03-22 03:59:55 +03:00
Ilmir Usmanov
7224b99928
Add intention to remove suspend from parameter on suspend inline function
2018-03-16 16:26:11 +03:00
Toshiaki Kameyama
f93b21eaa2
Fix "Add function to supertype" braces #KT-23215 Fixed
2018-03-16 12:11:26 +03:00
Toshiaki Kameyama
5d1f5d9bca
"Remove redundant 'if'" now works correctly with labeled return
...
So #KT-23109 Fixed
2018-03-07 16:01:38 +03:00
Toshiaki Kameyama
963e430b42
Make "Add annotation target" available on use-site annotation
...
So #KT-22861 Fixed
So #KT-22862 Fixed
2018-03-07 15:33:28 +03:00
Alexey Sedunov
96de29dfcb
Create from Usage: Support accessors for local delegated properties
...
#KT-19730 Fixed
2018-03-06 15:15:40 +03:00
Mikhail Glukhikh
24622c0139
Fix two broken tests (missing actions)
2018-02-28 10:31:27 +03:00
Dmitry Savvinov
d570b863ce
Introduce deprecation of companion objects nested classes
...
Introdude deprecation as per KT-21515. Warning is reported on type
usage, that soon will became invisible. Quickfix by adding explicit
import is added.
Idea behind implementation is to mark scopes that are deprecated (see
ClassResolutionScopesSupport).
Then, during walk along hierarchy of scopes, look at deprecation status
of the scope that has provided this classifier.
Note that we also have to check if there are *some* non-deprecated
visibility paths (because we can see classifier by two paths, e.g. if
we've added explicit import) -- then this type reference shouldn't be
treated as deprecated.
2018-02-21 16:04:49 +03:00
Alexey Sedunov
acf6408474
Create from Usage: Fix "Create class" applicability check for when entries
...
#KT-22329 Fixed
2018-02-21 13:21:17 +03:00
Toshiaki Kameyama
a36e8c86f1
KT-22428 Create member function from usage shouldn't present type parameters as options ( #1509 )
...
* KT-22428 Create member function from usage shouldn't present type parameters as options
* Reformat & cleanup
2018-02-17 14:09:44 +03:00
Toshiaki Kameyama
5499078fcc
Make "Specify explicit lambda signature" available on whole lambda
...
So #KT-22492 Fixed
2018-02-13 12:28:50 +03:00
Dmitry Jemerov
5bb195df9b
No space between label and lambda in labeled expressions
...
#KT-22301 Fixed
2018-02-09 10:49:01 +01:00
Alexey Sedunov
049439ce1d
Rename: Update test data (follow-up for unnecessary reformatting fix)
2018-02-06 14:23:20 +03:00