Dmitry Gridin
|
50506658c0
|
fix some tests for as36
|
2020-05-08 19:13:28 +07:00 |
|
Dmitry Gridin
|
11a3482970
|
tests: apply official code style
#KT-38632 Fixed
|
2020-05-07 12:36:44 +00:00 |
|
Dmitry Gridin
|
70185ba2a6
|
Formatter, NJ2K: fix indent for comments inside function literals
#KT-4194 Fixed
#KT-31881 Fixed
#KT-34673 Fixed
#KT-35152 Fixed
|
2019-11-29 16:28:59 +07:00 |
|
Dmitry Jemerov
|
64f01e53af
|
Check that add() method is in fact MutableCollection.add()
#KT-18881 Fixed
|
2017-12-18 18:10:33 +01:00 |
|
Dmitry Jemerov
|
94b8614fb8
|
Don't suggest mapTo() transformation over range literals
#KT-18816 Fixed
|
2017-12-18 18:10:32 +01:00 |
|
Dmitry Jemerov
|
09d27ca61c
|
Don't generate .forEach { return } when converting loop to call chain
#KT-17161 Fixed
|
2017-12-18 18:10:31 +01:00 |
|
Dmitry Jemerov
|
b775b901cc
|
Fix incorrect replacement with 'any' instead of 'all'
#KT-17730 Fixed
|
2017-12-18 18:10:24 +01:00 |
|
Nikolay Krasko
|
08d628537c
|
Assign trailing and preceding whitespaces to lambda block until the last comment in parser
|
2016-10-27 14:26:10 +03:00 |
|
Valentin Kipyatkov
|
18f10860df
|
KT-14336 for to stdlib to takeWhile: propose conversion into takeWhile if break is located in else branch
#KT-14336 Fixed
|
2016-10-24 18:32:05 +03:00 |
|
Valentin Kipyatkov
|
5c8db294df
|
Fixed index variable case
|
2016-10-24 18:32:05 +03:00 |
|
Valentin Kipyatkov
|
e5fcfae969
|
KT-13998 Loop to call chain converter produces 'none' instead of 'all'
#KT-13998 Fixed
|
2016-10-24 18:32:04 +03:00 |
|
Valentin Kipyatkov
|
89099b93b1
|
Split or glue together checks for not null and is instance + more intelligent use of filter vs filterTo
#KT-14284 Fixed
#KT-14286 Fixed
#KT-14287 Fixed
#KT-14303 Fixed
|
2016-10-24 18:32:04 +03:00 |
|
Valentin Kipyatkov
|
53220b980e
|
More correct checking of forEach requiring asSequence()
|
2016-10-24 18:32:04 +03:00 |
|
Valentin Kipyatkov
|
a87ca8432e
|
KT-14341 for to stdlib to forEach: if the loop variable is not used in the last/innerest statement the conversion is not proposed
#KT-14341 Fixed
|
2016-10-24 18:32:03 +03:00 |
|
Valentin Kipyatkov
|
5ca7688b7c
|
Correct handling of explicit variable type
|
2016-10-24 18:32:03 +03:00 |
|
Valentin Kipyatkov
|
9326dfa048
|
Honor errors in code before when checking smart casts
|
2016-10-24 18:32:03 +03:00 |
|
Valentin Kipyatkov
|
eae23b548f
|
KT-14294 for to stdlib to firstOrNull/lastOrNull: intention is absent if there is additional var before for loop
#KT-14294 Fixed
|
2016-10-24 18:32:03 +03:00 |
|
Valentin Kipyatkov
|
a89ef54578
|
KT-14210 for loop to stdlib: max/min is not recognized if there is additional if
#KT-14210 Fixed
|
2016-10-24 18:32:02 +03:00 |
|
Valentin Kipyatkov
|
35ed689b9f
|
any() and other find operations to work with checks for not null and is instance
|
2016-10-24 18:32:02 +03:00 |
|
Valentin Kipyatkov
|
b28d016709
|
count() to merge with filterNotNull and filterIsInstance + changed test for KT-14191 to use sum()
|
2016-10-24 18:32:02 +03:00 |
|
Valentin Kipyatkov
|
afd25548a2
|
KT-14209 for loop to stdlib: sum is not recognized if before was check for type
#KT-14209 Fixed
|
2016-10-24 18:32:01 +03:00 |
|
Valentin Kipyatkov
|
f5d4b1dc8d
|
KT-14191 FormattingModelInconsistencyException Exception on applying intention Replace with count()
#KT-14191 Fixed
|
2016-10-24 18:32:01 +03:00 |
|
Valentin Kipyatkov
|
21c2268f70
|
Protection against "<caret>" missing in test data
Many incorrect tests fixed
|
2016-09-27 18:05:26 +03:00 |
|
Valentin Kipyatkov
|
2d875e516e
|
Groupped tests by folders
|
2016-08-23 22:47:42 +03:00 |
|
Valentin Kipyatkov
|
d0f6e25783
|
sum and sumBy supported
|
2016-08-23 22:47:42 +03:00 |
|
Valentin Kipyatkov
|
61d1826980
|
Better test
|
2016-08-23 22:47:41 +03:00 |
|
Valentin Kipyatkov
|
91954e131a
|
Math.max/min pattern for min/max supported
|
2016-08-23 22:47:41 +03:00 |
|
Valentin Kipyatkov
|
84fd24a1a0
|
Another pattern for min/max supported
|
2016-08-23 22:47:41 +03:00 |
|
Valentin Kipyatkov
|
930f7960ea
|
max()/minI() supported
|
2016-08-23 22:47:41 +03:00 |
|
Valentin Kipyatkov
|
26cdd0d5d5
|
KT-13482 "Loop can be replaced with stdlib operations" changes semantics
#KT-13482 Fixed
|
2016-08-23 22:47:40 +03:00 |
|
Valentin Kipyatkov
|
8e6a01fe0a
|
arrayListOf, mutableListOf, hashSetOf and mutableSetOf supported
|
2016-08-16 17:38:19 +03:00 |
|
Valentin Kipyatkov
|
054558ad95
|
More correct checking of smart cast preserving
|
2016-08-16 17:38:19 +03:00 |
|
Valentin Kipyatkov
|
e32724330f
|
Moved shouldUseInputVariable from Transformation to TransformationMatcher and changed its semantics a bit
|
2016-08-16 17:38:18 +03:00 |
|
Valentin Kipyatkov
|
bdd4363802
|
Option to use 'asSequence()'
|
2016-08-16 17:38:17 +03:00 |
|
Valentin Kipyatkov
|
128896fa43
|
Formatting of "?:" onto the next line
|
2016-08-16 17:38:15 +03:00 |
|
Valentin Kipyatkov
|
7c0f9a76a8
|
Added one more test
|
2016-08-16 17:38:14 +03:00 |
|
Valentin Kipyatkov
|
e5903f90f2
|
Added test and asserts
|
2016-08-16 17:38:14 +03:00 |
|
Valentin Kipyatkov
|
8b4f8e8359
|
Corrected test data after rebase on master
|
2016-08-16 17:38:14 +03:00 |
|
Valentin Kipyatkov
|
d658d3b9cf
|
"Use withIndex()" intention&inspection
|
2016-08-16 17:38:13 +03:00 |
|
Valentin Kipyatkov
|
ebdff775f3
|
Supported index++ pattern as non-last statement and even inside expressions
|
2016-08-16 17:38:13 +03:00 |
|
Valentin Kipyatkov
|
4094d77782
|
Supported forEachIndexed
|
2016-08-16 17:38:12 +03:00 |
|
Valentin Kipyatkov
|
f28dca1fd5
|
Supported forEach
|
2016-08-16 17:38:12 +03:00 |
|
Valentin Kipyatkov
|
394cce8e10
|
Checking type of the collection being iterated
|
2016-08-16 17:38:11 +03:00 |
|
Valentin Kipyatkov
|
c2103e2200
|
Supported indexOf/lastIndexOf
|
2016-08-16 17:38:11 +03:00 |
|
Valentin Kipyatkov
|
834fe9d535
|
Supported contains()
|
2016-08-16 17:38:10 +03:00 |
|
Valentin Kipyatkov
|
833f62e9b9
|
Fixed some cases when smart cast problems were not detected
|
2016-08-16 17:38:10 +03:00 |
|
Valentin Kipyatkov
|
e8904d7727
|
Merging loop with initialization before in more cases + better formatting
|
2016-08-16 17:38:09 +03:00 |
|
Valentin Kipyatkov
|
b65ecdd660
|
Supported indexOfFirst/indexOfLast
|
2016-08-16 17:38:09 +03:00 |
|
Valentin Kipyatkov
|
5ac2c48879
|
Merging subsequent filtering checks even when index variable is used
|
2016-08-16 17:38:09 +03:00 |
|
Valentin Kipyatkov
|
aa6240a0c5
|
Do not generate redundant .toList()
|
2016-08-16 17:38:08 +03:00 |
|