Dmitry Gridin
4b98430058
Formatter: fix line break after package & file annotation
...
#KT-23957 Fixed
2019-11-29 21:09:04 +07:00
Toshiaki Kameyama
fbd992f8c7
Add intentions to convert lazy <--> ordinary property
...
#KT-23501 Fixed
2019-06-17 01:10:19 +03:00
Dmitry Gridin
74c177fd26
Convert FoldInitializerAndIfToElvisIntention to inspection and decrease severity to INFO
...
#KT-19643 Fixed
2019-06-07 12:23:54 +07:00
Mikhail Glukhikh
55ff519aa8
Fix KtModifierListOwner.addAnnotation (case without modifier list)
...
Now add annotation to primary constructor should work correctly,
and may be some other related cases too.
Related to KT-25548
2018-09-06 11:10:05 +03:00
Dmitry Petrov
acf0bb349c
Update testData for restricted expression annotations retention
2018-07-20 10:39:51 +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
Dmitry Jemerov
5f9a33564a
Implement option for wrapping method annotations
2017-07-07 16:48:31 +02:00
Mikhail Glukhikh
0903402282
"If null to elvis" now converts to elvis also !is check right after initializer #KT-14032 Fixed
2016-10-11 16:13:11 +03:00
Denis Zharkov
4910024cdb
Fix suppress at statement intention for asigmnents
...
There's no need now to consider precedence of element as
annotation preceding the beginning of block statement
is always now attached to the whole statement
#KT-11673 Fixed
#KT-12780 Fixed
2016-10-05 10:29:29 +03:00
Valentin Kipyatkov
21c2268f70
Protection against "<caret>" missing in test data
...
Many incorrect tests fixed
2016-09-27 18:05:26 +03:00
Ilya Gorbunov
570ac8b821
Add runtime dependency to tests where exception references are used.
2016-08-17 12:40:50 +03:00
Kirill Rakhman
e6d76a9b71
Allow suppressing warnings for secondary constructor (KT-12627)
...
(cherry picked from commit 41cf868)
#KT-12627 Fixed
2016-08-16 13:04:42 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Nikolay Krasko
697132561f
Allow to override suppression key for inspections
2015-12-19 14:32:38 +03:00
Nikolay Krasko
8196621be5
Add test for inspections suppression
2015-12-19 14:32:38 +03:00
Nikolay Krasko
aff83087a3
Allow to suppress warnings at file level
2015-12-19 14:32:37 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Svetlana Isakova
7150be7c67
Minor: fixed error message
2015-10-22 19:09:46 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00
Dmitry Jemerov
457e40a0b8
fix a few more tests
2015-10-12 11:11:31 +02:00
Dmitry Jemerov
a63d3f5a0f
fix more compilation errors and some tests
2015-10-12 11:11:29 +02:00
Dmitry Jemerov
1523d5bcbf
removing static type assertions work in progress
2015-10-12 11:11:23 +02:00
Mikhail Glukhikh
f1fcb14f44
Suppress warning intention fix: now multi declaration is not a possible intention target but its initializer is, relevant test fixes
2015-09-16 09:51:31 +03:00
Mikhail Glukhikh
8f7b29f80a
Annotation rename: target --> @Target
2015-09-07 13:42:26 +03:00
Denis Zharkov
bbc192fda5
Deprecate suppress annotation in favor of Suppress
2015-09-04 17:23:25 +03:00
Mikhail Glukhikh
0d2a81f098
Annotation target checking in front-end, a set of tests for different annotation targets, existing test fixes
...
No checks for erroneous annotations. Additional checks for identifiers.
2015-07-14 16:25:04 +03:00
Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Dmitry Jemerov
9975bb8935
replace 'trait' keyword with 'interface' in user-visible messages and code generation tools
2015-05-12 11:49:37 +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
Denis Zharkov
e59a0dd0c6
Adjust KotlinSuppressIntentionAction to syntax with '@'
2015-05-07 22:36:16 +03:00
Denis Zharkov
849b8acbf8
Replace annotations with brackets in testData
...
Just in tests that changed after deprecation
2015-05-07 22:36:16 +03:00
Denis Zharkov
44a55e5bf6
Adjust testData to new labels syntax
2015-04-29 14:03:11 +03:00
Stanislav Erokhin
43e24f6b0d
Fixed test data for new lambda syntax
2015-03-18 16:06:44 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Stanislav Erokhin
a33450395c
Resolve parenthesized element as expression
2015-03-12 17:11:43 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Pavel V. Talanov
d9d3f68a39
Drop JetClassObject element and its usages
...
as class objects are now represented by JetObjectDeclaration element
2015-02-16 15:38:31 +03:00
Alexey Sedunov
9cbcabffa4
Control-Flow Analysis: Reuse pseudo-value information for unused expression analysis
2014-07-28 13:07:37 +04:00
Andrey Breslav
708694a09d
Resolve annotation arguments only once
2014-03-26 21:10:29 +04:00
Alexey Sedunov
028a71273c
Fix test data of QuickFixTest
2014-03-25 16:49:44 +04:00
Alexander Udalov
f7b6457139
Replace "jet" package name with "kotlin" in testData
2014-03-02 19:55:26 +04:00
Natalia Ukhorskaya
fd3f852a93
Annotation parameter must be constant on vararg and array arguments
2014-01-28 18:21:43 +04:00
Valentin Kipyatkov
d01ff28212
Quickfix and intention tests refactoring: refer to intention action by class when checking that it's not available (instead of listing all available actions)
2014-01-23 18:46:27 +04:00
Andrey Breslav
fc70a65f99
Support 'suppress for statement' quick fix
...
#KT-3319 Fixed
2013-09-24 07:05:20 -07:00
Andrey Breslav
a13b66c58e
'Suppress warnings' as quick fix options
...
If no quick fix is available a special intention is shown
2013-09-24 06:58:41 -07:00