Dmitry Gridin
50506658c0
fix some tests for as36
2020-05-08 19:13:28 +07:00
Anton Bannykh
f20ed39b92
Fix a typo in an error message
2020-02-26 18:57:11 +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
Alexander Udalov
2877314313
Support "::foo" as a short-hand for "this::foo"
...
#KT-15667 Fixed
2017-09-08 10:59:44 +03:00
Zoltan Polgar
46ce9a6946
JS: Avoid declaration skeleton body generation in case of external class or object
2017-06-07 19:22:24 +02:00
qx
152c8b521e
Missed file
2017-05-22 18:34:27 +03:00
qx
bc14ce740a
KT-15309 Don't apply "Fix with 'asDynamic'" to member extension funcitons
2017-05-22 18:34:27 +03:00
Valentin Kipyatkov
1fe6886a33
Fixed error message to quote parameter name
2017-05-20 23:44:20 +03:00
qx
f6fe1c50c2
Used ConvertMemberToExtensionIntention in MigrateExternalExtensionFix instead of manually creating extension method
2017-05-04 16:11:17 +03:00
qx
8ba61ce7aa
Fixed KT-15270 Quickfix to migrate from @native***
2017-05-04 16:11:17 +03:00
qx
71de20b9e6
Retain javascript name from @native annotation
...
As the first part of KT-15257 JS: quickfix to migrate from @native to external
2017-05-04 16:11:16 +03:00
qx
c364e79557
Implemented @native-* annotation migration quickfix for extension functions
...
As the first part of KT-15270 Quickfix to migrate from @native***
2017-05-04 16:11:16 +03:00
Dmitry Jemerov
e2f75463d7
Rewrite AbstractQuickFixTest based on light fixture test case
...
Don't reconfigure runtime before every test. For consistency,
mark tests that require the runtime with directives instead of relying
on test file names.
2017-03-27 19:48:43 +02:00
Dmitry Jemerov
d8dfad875d
Drop pre-1.0 whole-project syntax migration actions
2017-03-27 14:57:44 +02:00
Dmitry Jemerov
731aeac04f
Delete quick fix which was needed to migrate users to the version of Kotlin which was the latest in 2014 (EA-93982 - assert: PsiModificationTrackerImpl.fireEvent)
2017-01-27 12:47:41 +01:00
Dmitry Jemerov
63785b5f66
Migration for JS extension functions and properties marked with @native/external
...
#KT-15269 Fixed
2016-12-16 15:36:55 +01:00
Denis Zharkov
b5a6cbd188
Adjust "Remove explicit type" intention to properties with getters
...
#KT-14794 Fixed
2016-11-15 09:30:13 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Alexey Sedunov
d13ac6b5a4
Intentions: Move class member to companion object
...
#KT-9697 In Progress
2016-02-04 12:26:18 +03:00
Dmitry Jemerov
95683bbf38
remove old API usage inspection
2016-01-28 14:13:57 +01:00
Michael Bogdanov
bb63bcd520
Removed obsolete tests
2015-12-29 16:45:24 +03:00
Michael Bogdanov
2e73559f33
Removed 'INSTANCE$' field generation
2015-12-24 13:59:44 +03:00
Michael Bogdanov
aeb6486473
Deprecated 'INSTANCE$' replaced with 'INSTANCE'
2015-12-24 13:59:43 +03:00
Dmitry Jemerov
c83b6ed3a5
Inspection for migrating Kotlin stdlib API usages in Java code
2015-12-15 12:45:40 +01:00
Stanislav Erokhin
1890b8cbd3
Removed InvokeOnExtensionFunctionWithExplicitReceiverFix
2015-12-11 17:01:03 +03:00
Dmitry Jemerov
e97e82d119
use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"
2015-12-09 13:55:40 +01:00
Alexey Sedunov
8fcda32287
Unit Test Tooling: Support Go to Test/Create Test actions for top-level declarations
...
#KT-10133 Fixed
2015-12-08 16:20:47 +03:00
Dmitry Petrov
f0e467e474
Rewrite mixed multiple- and single-condition 'when' properly.
...
#KT-10229 Fixed
2015-11-30 14:43:03 +03:00
Dmitry Petrov
da90c21284
Warn about comma-separated conditions in when without argument.
...
See KT-5143.
2015-11-25 15:39:23 +03:00
Valentin Kipyatkov
d829f585f7
Changes on code review
2015-11-11 01:26:20 +03:00
Valentin Kipyatkov
4f9866f62f
Created quickfix for KT-9805
2015-11-11 01:26:20 +03:00
Svetlana Isakova
7150be7c67
Minor: fixed error message
2015-10-22 19:09:46 +03:00
Mikhail Glukhikh
d6988ad69e
Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed
2015-10-21 16:36:55 +03:00
Valentin Kipyatkov
0a5255ee4e
Dropped inspection for functions matching operator convention - only intention left
2015-10-19 18:36:06 +03:00
Pavel V. Talanov
bb77890a4e
Drop DeprecatedFacadeUsageInspection
...
(cherry picked from commit f18b95d)
2015-10-19 16:03:17 +03:00
Mikhail Glukhikh
a4af6a3076
data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed
2015-10-19 15:24:28 +03:00
Valentin Kipyatkov
563ad4bab2
Added test
2015-10-19 09:43:12 +03:00
Valentin Kipyatkov
5ce0ed37b1
Moved file to another package
2015-10-19 09:43:12 +03:00
Valentin Kipyatkov
d1de2f65c9
Rewritten AddOperatorModifierInspection to be based on an intention (shouldn't we drop the inspection at all?)
2015-10-19 09:43:12 +03:00
Yan Zhulanow
9ae3b0fa9c
Drop loading Java annotation methods as functions
2015-10-16 22:13:34 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00
Pavel V. Talanov
d603142cc6
Provide inspection and quickfixes for usages of static fields which will be no longer accessible in future versions
...
For this inspection three kinds of fixes are potentially available:
- Add 'const' modifier to kotlin property
- Add '@JvmField' annotation to kotlin property
- Change field reference to getter invocation
In case user chooses to 'cleanup code', these fixes are prioritized in this order
2015-10-14 14:42:26 +03:00
Andrey Breslav
4f63d47f82
Intention action for hiddnen declarations fixed
2015-10-13 01:45:02 +03:00
Valentin Kipyatkov
cbf4e4a973
Corrected order of modifier insertion
2015-10-12 15:10:39 +03:00
Dmitry Jemerov
23e13d4043
fix type parameter migration for extension functions
2015-10-12 13:45:44 +02:00
Pavel V. Talanov
f4ef9647b1
Idea: add quick fix for replacing usages of deprecated "INSTANCE$" field
2015-10-09 16:25:19 +03:00
Dmitry Jemerov
1fdf08bec5
quickfix to migrate function type parameter lists to new syntax
2015-10-06 16:20:48 +02:00
Alexander Udalov
012a2971ff
Quick-fix to add type to LHS of incorrect callable references
2015-10-03 04:37:05 +03:00
Dmitry Jemerov
ee1175d5e5
fix 'operator' modifier inspection
...
#KT-9349 Fixed
2015-09-28 14:35:41 +02:00
Dmitry Jemerov
8b0ccce4f1
code review; add 'operator' also to next() and hasNext(); check toplevel functions
2015-09-25 20:00:28 +02:00