Dmitry Jemerov
76c9bbc06d
handle setter calls used as expression bodies in "Use property access syntax" intention
...
#KT-10587 Fixed
2016-01-11 18:53:07 +01:00
Alexey Sedunov
aeefdffaab
Implement Abstract Member Intention: Support primary constructor parameters
...
#KT-8427 Fixed
2015-12-30 00:56:34 +03:00
Alexey Sedunov
00cc9d4150
Specify Type Explicitly: Filter out types which can't be resolved in the target scope
...
#KT-10066 Fixed
2015-12-30 00:56:34 +03:00
Alexey Sedunov
c90d283ff5
Quick Fixes: Implement 'Add val/var to primary constructor parameter' quick-fix for data classes
...
#KT-4038 Fixed
2015-12-25 18:50:59 +03:00
Alexey Sedunov
6978d842fb
Intentions: Implement 'Add val/var to primary constructor parameter' intention
...
#KT-4038 In Progress
2015-12-25 18:50:55 +03:00
Alexey Sedunov
03641ffbee
Intentions: 'Implement abstract member' (Kotlin -> Kotlin)
...
#KT-8467 In Progress
2015-12-25 18:50:37 +03:00
Alexey Sedunov
123b813073
'Replace with infix call' Intention: Disable on calls without explicit receiver
...
#KT-6332 Fixed
2015-12-25 18:50:34 +03:00
Alexey Sedunov
ae636a0d32
Iterate Intention: Add support of destructuring declarations
2015-12-25 18:50:30 +03:00
Alexey Sedunov
1d3054e7a6
Iterate Intention: Filter out functions without 'operator' modifier
2015-12-25 18:50:27 +03:00
Alexey Sedunov
1c74bab1cc
Iterate Intention: Fix detection of extension iterators
...
#KT-8616 Fixed
2015-12-25 18:50:23 +03:00
Nikolay Krasko
36210f0a27
Allow to suppress kotlin inspections with Suppress() annotation
2015-12-19 14:32:36 +03:00
Stanislav Erokhin
1574dc78df
Synthetic extensions wins against top-level extension.
2015-12-18 22:49:25 +03:00
Natalia Ukhorskaya
d40e9ffc13
Do not convert anonymous object to lambda if its function is recursive
...
#KT-10348 Fixed
2015-12-17 13:39:36 +03:00
Natalia Ukhorskaya
43476bd773
Do not drop negation if resulting type isn't boolean
2015-12-17 11:11:33 +03:00
Natalia Ukhorskaya
f84b3414c8
Remove outdated test: generic property should have a receiver
2015-12-17 11:11:32 +03:00
Natalia Ukhorskaya
4b1edf7bb0
Intention tests: add directive to skip errors before
2015-12-17 11:11:31 +03:00
Natalia Ukhorskaya
fc7c45d4d0
NegatedExpressionWithDemorgansLaw may produce code with error
2015-12-17 11:11:30 +03:00
Natalia Ukhorskaya
7f0065c806
Fix OperatorToFunctionIntention: insert function literal expressions to arguments correctly
2015-12-17 11:11:29 +03:00
Natalia Ukhorskaya
6bfbec8c88
ConvertAssertToIf may produce code with error
...
// TODO: we could generate anonymous function instead of lambda expression when there is a return
2015-12-17 11:11:28 +03:00
Natalia Ukhorskaya
ce3d53d2ee
Intention tests: add operator modifier in some tests
2015-12-17 11:11:27 +03:00
Natalia Ukhorskaya
2c29f6f5ab
ConvertIfWithThrowToAssertIntention: generate assert with lazy argument
2015-12-17 11:11:26 +03:00
Natalia Ukhorskaya
2dc1ba1d62
Intention 'remove explicit lambda parameter' may break code, do not check error in tests for it
2015-12-17 11:11:26 +03:00
Natalia Ukhorskaya
269676ee2e
Intention tests: skip errors check for tests that fix some error
2015-12-17 11:11:25 +03:00
Natalia Ukhorskaya
abd7ed5c70
Fix intention for when: insert '||' instead of ','
2015-12-17 11:11:24 +03:00
Natalia Ukhorskaya
6a3ac66208
Intention tests: add runtime where necessary
2015-12-17 11:11:23 +03:00
Natalia Ukhorskaya
78d737f3f4
Check errors in Intentions tests by default
2015-12-17 11:11:22 +03:00
Natalia Ukhorskaya
cc259c2d15
Intention convert object literal to lambda should add parameters if there are more than one
2015-12-17 11:11:22 +03:00
Natalia Ukhorskaya
693e158759
Intention to convert anonymous function to lambda
2015-12-17 11:11:18 +03:00
Natalia Ukhorskaya
a983e6cf60
J2K: Do not convert string literal with escaped symbols automaticaly during java to kotlin conversion
...
#KT-9942 Fixed
2015-12-17 11:11:16 +03:00
Ilya Gorbunov
59a9e2549c
Fix tests: codegen, completion, decompiler consistency, quickdoc, intentions, navigation, reference resolver, quick fixes
2015-12-14 04:29:25 +03:00
Ilya Gorbunov
d296d91272
Fix fq-names of top-level extensions in intentions.
2015-12-14 04:29:21 +03:00
Ilya Gorbunov
4dde59368c
Fix tests not to duplicate array constructor definitions as they are available now in builtins.
2015-12-14 04:29:18 +03:00
Alexander Udalov
239502368a
Update test data for tower resolution algorithm
...
- locals win
- unary calls to plus/minus are not supported in favor of unaryPlus/unaryMinus
- unqualified nested classes are temporarily reported as unresolved
- function without receiver win against extension function
- explicit import win against star import
2015-12-11 17:01:02 +03:00
Dmitry Petrov
0fe74a8b43
COMMA_IN_WHEN_CONDITION_WITHOUT_ARGUMENT is an ERROR now.
...
Migrated code.
Updated test data in IDE tests.
Dropped whenWithRangeTestsAndMultiConditions.kt:
"Introduce subject" is not applicable to 'when' with ||-ed conditions.
2015-12-11 10:43:16 +03:00
mcgee
4a0e33003b
#KT-9938 Fixed
...
Top level test case is added
2015-12-09 07:32:41 +03:00
Anton Sukhonosenko
da5f71773a
#KT-9938 Fixed
...
Code review fixes
2015-12-07 22:48:47 +03:00
Anton Sukhonosenko
6b49ac6b46
#KT-9938 Fixed
2015-12-06 01:44:57 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Valentin Kipyatkov
fdc7c75f5b
Fixed "Import member" intention shown in the wrong place
2015-11-20 16:06:34 +03:00
Dmitry Petrov
3556f9751e
Reuse package/class qualifier prefix resolution for qualified expression resolution.
2015-11-18 14:35:52 +03:00
Ilya Gorbunov
a793a63b73
Simplify message expression from lambda argument when converting assert to if.
2015-11-11 19:00:08 +03:00
Valentin Kipyatkov
fe7f79428d
Intention to import members with '*'
2015-11-10 17:23:11 +03:00
Valentin Kipyatkov
d3f04c6310
Fixed for companion object members
2015-11-10 17:23:11 +03:00
Valentin Kipyatkov
d599b77ece
Works also for top level fun - why not?
2015-11-10 17:23:11 +03:00
Valentin Kipyatkov
870fc9284b
KT-4945 Intention "Introduce static import" (for single symbol)
...
#KT-4945 Fixed
2015-11-10 17:23:10 +03:00
Ilya Gorbunov
850c1518c8
Fix Delegates.lazy usages in testData
2015-11-06 01:12:09 +03:00
Valentin Kipyatkov
ce50a27af0
KT-9729 Invert If Condition intention should run Simplify Negated Expression when applicable
...
#KT-9729 Fixed
2015-10-30 17:25:36 +03:00
Valentin Kipyatkov
2b3694a77e
Do not drop use of SAM-constructor when it's required for labeled return
2015-10-30 17:25:35 +03:00
Valentin Kipyatkov
34298190b3
Use unaryPlus() and unaryMinus() instead of plus() and minus() + no identityEquals()
2015-10-30 17:25:35 +03:00