Mark Punzalan
ef923d4cfe
FIR IDE: Enable ReplaceInfixOrOperatorCallFix for
...
UNSAFE_IMPLICIT_INVOKE_CALL.
2021-06-03 20:18:02 +03:00
Mark Punzalan
6de1000818
FIR: Report UNSAFE_INFIX_CALL for all infix-style calls, even if the
...
candidate is not an infix function.
This mirrors FE 1.0 (see
`AbstractTracingStrategy.reportUnsafeCallOnBinaryExpression()`) and
allows consistent handling for quickfixes on infix calls.
2021-06-03 20:18:01 +03:00
Mark Punzalan
ca7649edbb
FIR IDE: Enable ReplaceInfixOrOperatorCallFix for UNSAFE_CALL,
...
UNSAFE_INFIX_CALL, UNSAFE_OPERATOR_CALL.
2021-06-03 20:17:59 +03:00
Mark Punzalan
5a7f4ffc99
FIR IDE: Enable tests for ReplaceInfixOrOperatorCallFix.
2021-06-03 20:17:58 +03:00
Toshiaki Kameyama
343af60cb4
Add intention to expand boolean expression
...
#KT-38597 Fixed
2020-06-02 23:52:06 +03:00
Dmitry Gridin
6c439ae85a
Create TrailingCommaIntention
...
#KT-34744
2020-02-04 21:34:53 +07:00
Igor Yakovlev
7b2f39530a
Fix invalid testdata for ConvertToScopeIntention applicability
2019-08-28 16:31:49 +03:00
Mikhail Zarechenskiy
d4d1648e1d
[IDE-NI-MIGRATE] Migrate QuickFix tests for new inference
2019-05-06 13:59:24 +03:00
Mikhail Glukhikh
c084eefb65
Fix a bunch of IDE quick-fix tests (related to "convert to run/...")
...
These actions became available more often some days ago
2019-02-25 10:37:46 +03:00
Dmitry Neverov
44ce5f73f7
Apply De Morgan's laws to non-negated binary expressions
...
So #KT-18460 Fixed
2017-06-28 15:28:43 +03:00
Mikhail Zarechenskiy
aeac2ea384
Fix 'add not-null asserted call' quick fix for operation in
...
#KT-18529 Fixed
2017-06-19 17:36:09 +03:00
Dmitry Neverov
46aaee5d05
Fix nullability quick-fixes with implicit receiver #KT-17726 Fixed
2017-05-24 14:01:58 +03:00
Mikhail Glukhikh
c07906fac4
Replace with safe calls forbidden for comparisons #KT-13432 Fixed
2016-08-22 15:11:33 +03:00
Mikhail Glukhikh
b53cb91e88
Do not suggest "Replace infix with safe call" inside conditions or binary / unary expressions #KT-13328 Fixed
2016-08-15 15:42:27 +03:00
Mikhail Glukhikh
995a633229
Replace with safe call works now on UNSAFE_IMPLICIT_INVOKE #KT-12628 Fixed
...
(cherry picked from commit 208798d)
2016-07-29 20:12:11 +03:00
Mikhail Glukhikh
47493c1a65
KT-12628: replace infix call supports now array accesses too
...
(cherry picked from commit 3d67f84)
2016-07-29 20:11:45 +03:00
Mikhail Glukhikh
c439a751ab
KT-12628: new test for arg + something with nullable arg
...
(cherry picked from commit a7e4e2d)
2016-07-29 20:11:36 +03:00
Valentin Kipyatkov
3f82cc9b39
KT-12260 ISE while replacing an operator with safe call
...
#KT-12260 Fixed
2016-05-13 17:44:01 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Valentin Kipyatkov
837e46a9b8
Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes
2015-05-08 22:29:42 +03:00
Kevin F. Chen
5db0f2132c
remove useless nullable qfix and test done
2013-03-02 21:39:27 +04:00
Michał Sapalski
c2f5743cf0
Quickfix for UNSAFE_INFIX_CALL
2013-02-19 21:10:26 +04:00
Kevin F. Chen
42b7b7e221
Added quickfix for NULLABLE_SUPERTYPE
2013-02-13 11:32:37 +04:00
Jack Zhou
5ee9b2fdd1
Added quickfix for REDUNDANT_NULLABLE.
2013-02-05 20:17:29 +04:00