Denis Zharkov
f72aa78eec
Fix libraries analysis for case of isReleaseCoroutines feature enabled
...
#KT-25466 In Progress
2018-07-19 16:19:04 +03:00
Nikolay Krasko
481c428881
Add version replace fix for kotlinx coroutines in Gradle (KT-25251)
...
#KT-25251 In Progress
2018-07-19 16:09:57 +03:00
Dmitry Savvinov
76c651421b
Deprecate visibility of static members inherited from Java
...
Now they are not visible by short name through companion objects, just
like classifiers in KT-21515
^KT-25333 In progress
2018-07-19 13:32:38 +03:00
Mikhael Bogdanov
56c535d505
Fix test data
2018-07-19 10:52:13 +02:00
Dmitry Petrov
a457a9f870
Update testData for IDEA tests for annotations with target EXPRESSION
2018-07-18 15:56:11 +03:00
Denis Zharkov
cc2280b95b
Fix test data after 89d99e3989
2018-07-18 11:14:46 +03:00
Yan Zhulanow
a4b3653e1c
Debugger: Navigate to the right file in MPP projects (#KT-25152, #KT-25147)
2018-07-17 20:54:29 +03:00
Nikolay Krasko
f9de91016a
Inspection for experimental coroutines imports migration (KT-25251)
...
#KT-25251 In Progress
2018-07-17 02:22:14 +03:00
Nikolay Krasko
5b34498162
Do not report code style warnings on overridden declarations (KT-25416)
...
#KT-25416 Fixed
2018-07-17 02:22:14 +03:00
Alexander Udalov
f766b2c473
Improve "optimize imports" behavior on default imports
...
Optimize imports to classes when there's an import of a type alias to
that class with the same name. This results in "java.lang.*" imports
being optimized in favor of the corresponding type aliases in "kotlin.*"
which are imported by default
2018-07-16 13:45:11 +02:00
Yan Zhulanow
a2fdf7d47d
Evaluator: Support when expressions (EA-119639)
2018-07-12 20:36:41 +03:00
Yan Zhulanow
115356b990
Eval4J: Do not report certain kinds of exceptions to EA
2018-07-12 20:36:40 +03:00
Yan Zhulanow
e958a9771f
Extract refactoring: Make an extracted function 'inline' if any of its type parameters are reified (#KT-23983)
2018-07-12 20:36:38 +03:00
Nikolay Krasko
b51880332e
Migration inspection for fromClosedRange() call (KT-17176)
...
#KT-17176 Open
2018-07-11 14:25:24 +03:00
Natalia Selezneva
5741f81f25
Fix AbstractScriptConfigurationTest
...
Add dependency on script runtime for module.
Provide default test script template thought template-classpath.
2018-07-10 08:43:52 +02:00
Natalia Selezneva
790188120a
Add LightProjectDescriptor with script-runtime dependency. Use it in PsiChecker tests.
2018-07-10 08:43:52 +02:00
Dmitry Savvinov
2783e9939b
Fix internal-visibility mangling in IDE
...
Collect module name properly from facets settings, using CLI arguments
which define module name ('-module-name' on JVM and Common,
'-output-file' on JS).
^KT-23668 Fixed
2018-07-09 18:50:50 +03:00
Mikhail Zarechenskiy
c032a02373
Prohibit assigning single elements into varargs in named form
...
#KT-20588 Fixed
#KT-20589 Fixed
2018-07-06 15:23:31 +03:00
Denis Zharkov
0d00eb7de3
Add postfix template for listOf/setOf/etc
...
#KT-25239 Fixed
2018-07-06 10:06:56 +03:00
Denis Zharkov
6f4aa2296d
Implement quickfix wrapping elements in collection literal calls
...
#KT-25238 Fixed
2018-07-06 10:06:56 +03:00
Mikhail Zarechenskiy
5869274ff1
Disable errors in mod/rem tests that depend on language feature
...
Otherwise these tests will fail with LV=1.3
2018-07-05 12:59:43 +03:00
Alexander Podkhalyuzin
7ee055fccc
Merge pull request #1745 from JetBrains/rr/suppressor
...
Introduce KotlinInspectionSuppressor
2018-07-03 14:37:39 +03:00
Alexey Sedunov
b52b07ec79
Test Support: KT-22306
...
Do not show run markers in JS modules when no relevant run configurations are available
#KT-22306 Fixed
2018-07-02 19:15:52 +03:00
Alexey Sedunov
22d74276a0
Misc: Configure stdlib in failing tests
2018-07-02 19:08:10 +03:00
Mikhail Zarechenskiy
2e88f5c47d
Prohibit operator mod as declaration and calls that resolved via it
...
#KT-24197 Fixed
2018-07-02 16:12:36 +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
Mikhail Glukhikh
fdc0335b4a
Add actual: handle (incorrect) case with expect function with body
...
So #KT-23326 Fixed
2018-06-29 10:54:37 +03:00
Mikhail Glukhikh
0fb183e302
Add actual: handle parameters with val/var as compatible with property
...
So #KT-23762 Fixed
2018-06-29 10:54:36 +03:00
Mikhail Glukhikh
dd0b267531
Add actual: handle primary & secondary constructors as compatible
...
So #KT-23686 Fixed
2018-06-29 10:54:35 +03:00
Mikhail Glukhikh
16c6d63b10
Create actual: do not generate default parameter values
...
So #KT-23105 Fixed
2018-06-29 10:54:32 +03:00
Mikhail Glukhikh
aac71bf904
Safe delete: when invoking on actual, delete expect & actual neighbors
...
So #KT-15666 Fixed
2018-06-29 10:54:24 +03:00
Mikhail Glukhikh
50e70e4638
Safe delete: when invoking on expect, delete also relevant actual
...
Partial fix of KT-15666
2018-06-29 10:53:43 +03:00
Mikhail Glukhikh
465d5c077e
Safe delete: search for actual declarations more accurately
2018-06-29 10:53:42 +03:00
Alexey Sedunov
60583e557f
PSI: Do not delete package directive for file in default package
...
#KT-24968 Fixed
2018-06-28 18:22:28 +03:00
Alexey Sedunov
bede2e1c16
Extract Interface: Fix type import when converting parameter to property
...
#KT-18736 Fixed
2018-06-28 17:52:05 +03:00
Alexey Sedunov
9b7450cfdb
Extract Superclass: Report private members used in abstracted members
...
#KT-16284 Fixed
2018-06-28 17:52:04 +03:00
Alexey Sedunov
bd88e02172
Extract Superclass: Fix visibility lifting when moving to interface
...
#KT-16281 Fixed
2018-06-28 17:52:04 +03:00
Alexey Sedunov
b0e0460ee6
Extract Superclass: Allow extraction to existing file
...
#KT-15351 Fixed
2018-06-28 17:52:04 +03:00
Mikhail Zarechenskiy
dc7678a700
Use smartcast info that related to call in change signature quick fix
...
There is an inconsistency on how we record smartcasts in old and new
inference, but we definitely should use all possible information about
smartcasts in quick-fixes
#KT-25144 Fixed
2018-06-28 13:14:18 +03:00
Mikhail Glukhikh
eb92b7ed7f
Unused symbol: don't suggest actual declaration used in another platform
...
Related to KT-17512
Related to KT-15666
2018-06-26 15:36:10 +03:00
Mikhail Glukhikh
30327aa9cc
Do not mark kotlin.test.Test annotated declarations as unused
...
So #KT-20523 Fixed
2018-06-26 15:36:09 +03:00
Mikhail Glukhikh
7e0e7dc983
Unused symbol: remove forced "used" from actual declarations
...
Now we really check whether actual declaration has usages
(in expect or actual code) or not
Related to KT-17512
Related to KT-15666
2018-06-26 15:36:07 +03:00
Mikhail Glukhikh
e885e54233
Implement search from expect element in KotlinReferenceSearcher
...
So mostly #KT-17512 Fixed
2018-06-26 15:36:06 +03:00
Mikhail Glukhikh
cc2869988f
Test for KT-17512 (yet with incorrect results)
2018-06-26 15:35:58 +03:00
Nikolay Krasko
8e31113a4f
Ident elvis with normal ident in Kotlin code style (KT-25008)
...
#KT-25008 Fixed
2018-06-22 19:19:13 +03:00
Nikolay Krasko
1973860e70
Indent content of when (KT-14066)
...
#KT-14066 Fixed
2018-06-22 19:19:12 +03:00
Toshiaki Kameyama
5a4cba7528
"To raw/ordinary string literal" intention: Move cursor to same offset after conversion #KT-18106 Fixed ( #1675 )
2018-06-21 15:56:18 +03:00
Mikhail Glukhikh
152327d69d
Fix erroneous full resolve cache filling
...
Before this commit, we could store partial resolve results in full
resolve cache (for some declarations, e.g. primary constructors).
This may be done iff current partial resolve mode provides all results
from full resolve mode (CFA results & diagnostics).
Otherwise we should not do it.
This fixes four quick-fix tests on CreateTypeParameter
So #KT-23860 Fixed
So #KT-22758 Fixed
2018-06-20 17:18:18 +03:00
Toshiaki Kameyama
096f9fefd1
"Remove redundant '.let' call" intention: handle it inside function call
...
So #KT-20583 Fixed
2018-06-20 17:18:17 +03:00