Stanislav Erokhin
2aa2df75ae
Make property java available on KClass<T> where T is type parameter without upper bounds.
2017-01-28 03:25:43 +03:00
Mikhail Glukhikh
9fdf16e5d7
Quick-fix to add 'suspend' to the receiver of startCoroutine / createCoroutine #KT-15738 Fixed
2017-01-27 23:39:04 +03:00
Denis Zharkov
1d5144b168
Move coroutine-related diagnostic tests to run them with stdlib
...
It's necessary because all coroutine related declarations (Continuation, etc)
are now in the stdlib
2017-01-27 23:24:13 +03:00
Denis Zharkov
8fa8ba7055
Move coroutine-related runtime parts to kotlin.coroutines.experimental package
...
#KT-15975 Fixed
2017-01-27 23:24:13 +03:00
Ilya Gorbunov
267703e6b7
Change references to kotlin-stdlib-js.jar in plugin.
...
Change test projects for js project configurator.
#KT-15940
2017-01-27 22:19:49 +03:00
Ilya Gorbunov
d0e917e7f9
Fix maven references to stdlib-js in IDEA project
...
#KT-15940
2017-01-27 22:19:35 +03:00
Mikhail Glukhikh
08caf0a011
Object literal to lambda: handle last comment correctly #KT-15670 Fixed
2017-01-27 18:15:56 +03:00
Mikhail Glukhikh
c0f5cafbd8
Set type reference: destructuring support #KT-14994 Fixed
2017-01-27 18:15:54 +03:00
Mikhail Glukhikh
f4513e9c70
Remove explicit lambda parameter types: destructuring support #KT-15162 Fixed
...
Also #KT-14993 Fixed
2017-01-27 18:15:52 +03:00
Nikolay Krasko
370e7cd9f5
Stop considering injected files as Kotlin source roots (KT-15032)
...
We should have a special facade for them as descriptors are not
present in ordinal project facade.
Caused by change in idea 171 (https://github.com/JetBrains/intellij-community/commit/b3527d9a20f4b9391e98b426beb2548fb3efc0fe )
#KT-15032 Fixed
2017-01-27 18:00:14 +03:00
Kirill Rakhman
956094e062
Add Merge ifs intention ( #975 )
...
Fixes #KT-9912
2017-01-27 14:20:11 +01:00
Dmitry Petrov
de14d4abc8
KT-15748 Type alias constructor return type should have a corresponding abbreviation
2017-01-27 15:16:04 +03: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
Mikhail Zarechenskiy
0c6a860a22
ReplaceWith annotation resolver: use module from resolution facade to build imports scope
...
#KT-15873 Fixed
Using module from original element may lead to exceptions as it could be
<built-ins module> (after deprecation of `mod` operator)
2017-01-27 14:13:13 +03:00
Simon Ogorodnik
4202abac63
Fix test
2017-01-26 23:19:42 +03:00
Simon Ogorodnik
f1c4230a68
KT-14680 import statement to typealias reported as unused when using only TA constructor
...
#KT-14680 fixed
2017-01-26 21:18:20 +03:00
Dmitry Jemerov
46bb636cea
Fix ConfigureProjectTestGenerated
2017-01-26 19:08:57 +01:00
Dmitry Jemerov
c7ea4eead7
Add Gradle JavaScript configurator
2017-01-26 19:08:57 +01:00
Dmitry Jemerov
7eea8f3849
Configuring project with Gradle adds kotlin-stdlib-jre7 or kotlin-stdlib-jre8 if the selected JDK is of a high enough version
2017-01-26 19:08:57 +01:00
Dmitry Jemerov
acc19f2ab6
Don't add 'kotlin' source root to build.gradle by default
...
#KT-14830 Fixed
2017-01-26 19:08:57 +01:00
Mikhael Bogdanov
0006a04b01
Report warning on hided override by delegation when compile to 1.0 version
2017-01-26 14:32:33 +01:00
Simon Ogorodnik
bf3d4471cd
KT-14710 Sample references aren't resolved in IDE
...
#KT-14710 fixed
2017-01-26 13:27:57 +03:00
Simon Ogorodnik
cd73d17bd4
KT-15311 "Add Import" intention generates incorrect code
...
#KT-15311 fixed
2017-01-26 13:24:41 +03:00
Dmitry Petrov
a974ed1049
Support custom accessors for top-level properties in scripts.
2017-01-26 10:12:13 +03:00
Ilya Gorbunov
b1b295f00f
Fix variance of Map.minus in expected diagnostics output.
2017-01-26 07:27:00 +03:00
Kirill Rakhman
ca86dbee72
Android: Add intention to generate View constructor convention
...
Fixes #KT-15150
2017-01-26 00:56:33 +03:00
Ilya Gorbunov
384b6410f2
New minus overloads appears in quickfix test data
2017-01-25 22:08:48 +03:00
Simon Ogorodnik
3948c1e007
KT-15153 Support typeAlias extensions in completion and add import
...
#KT-15153 fixed
2017-01-25 20:47:48 +03:00
Simon Ogorodnik
e220a20eed
KT-15796 Import of class referenced only in KDoc not preserved after copy-paste
...
#KT-15796 fixed
2017-01-25 17:41:26 +03:00
Simon Ogorodnik
4ca10c61fd
KT-11308 Hide kotlin.jvm.internal package contents from completion and auto-import
...
#KT-11308 fixed
2017-01-25 17:39:36 +03:00
Simon Ogorodnik
5c52bdc684
KT-14859 "Parameter Info" doesn't work properly in one case
...
#KT-14859 fixed
2017-01-25 17:32:57 +03:00
Nikolay Krasko
c525a59df8
Make breakpoints work in suspend functions
2017-01-25 16:46:35 +03:00
Nikolay Krasko
649ec9a73d
Check that breakpoints work in suspend function without suspension points
2017-01-25 16:46:33 +03:00
Alexey Sedunov
983ad55357
Code Insight: Preserve identifier quotes in "Generate equals()/hashCode()/toString()" actions
...
#KT-15883 Fixed
2017-01-25 14:24:51 +03:00
Alexey Sedunov
7382d7c7d6
Extract Function: Add 'suspend' modifier if extracted function contains suspend-calls
...
#KT-14704 Fixed
2017-01-25 14:24:49 +03:00
Alexey Sedunov
41f5a3e864
Support "Change parameter type" for parameters with type-mismatched default value
...
#KT-15627 Fixed
2017-01-25 14:24:48 +03:00
Vyacheslav Gerasimov
4fe040eeb9
Fixed several bugs in Android lint ApiDetector (KT-15002, KT-12024, KT-14737, KT-14825, KT-12023, KT-15018)
...
Merged IntelliJApiDetector to ApiDetector
#KT-15002 Fixed
#KT-12024 Fixed
#KT-14737 Fixed
#KT-14825 Fixed
#KT-12023 Fixed
#KT-15018 Fixed
(cherry picked from commit e830e8b55fa2e354303a6c604b3905285a05b9db)
2017-01-25 10:50:36 +03:00
Vyacheslav Gerasimov
d0f1b81bfa
Fixed bugs in Kotlin Android Lint CleanupDetector
...
#KT-14780 Fixed
#KT-14677 Fixed
(cherry picked from commit f591b4958e4a836d37d70c2ad8ff15e626c6342a)
2017-01-25 10:50:35 +03:00
Alexey Andreev
aedf8bd232
JS: replace noImpl with definedExternally in tests
2017-01-24 20:14:31 +03:00
Mikhail Glukhikh
bfb31a465f
Quick-fix to add 'suspend' to the containing function #KT-15800 Fixed
2017-01-24 15:17:55 +03:00
mglukhikh
96cddb6b7b
False positive in "Remove redundant let" fixed #KT-15884 Fixed
2017-01-24 15:17:48 +03:00
mglukhikh
be75ef919e
Change visibility modifier: now works on no-modifier type aliases #KT-15066 Fixed
2017-01-24 15:17:41 +03:00
shiraji
d9ec8a92f2
KT-15553 Support compile constant for "Copy concatenation text to clipboard"
...
#KT-15553 Fixed
2017-01-24 14:33:52 +03:00
Kirill Rakhman
909007d984
Add inspection for private primary constructors in data classes
...
Fixes #KT-15709
2017-01-24 14:08:05 +03:00
mglukhikh
b53ebd115b
Pattern matching: work-around for smart cast target type instability #KT-14705 Fixed
2017-01-24 13:51:14 +03:00
shiraji
ad9bf1626f
Fix the problem with ConvertPrimaryConstructorToSecondaryIntention for enum #KT-15406 Fixed
2017-01-19 17:57:33 +03:00
Mikhael Bogdanov
e1bec0df2e
Proper generate interval for catch block variable; Fix for KT-15646: InconsistentDebugInfoException when stepping over throw
...
#KT-15646 Fixed
2017-01-19 09:33:10 +01:00
Dmitry Petrov
b9f9894310
KT-15677 KT-15775
...
Update parser & descriptor renderer to handle parenthesized types and function types properly.
Resolve annotations in parenthesized types.
AnnotationsImpl.isEmpty() returned false for targeted annotations only
(e.g., 'fun @receiver:Ann C?.foo()').
Properly keep track of targeted annotations.
2017-01-19 09:53:17 +03:00
mglukhikh
93b2c56bb4
Fixed KNPE in convert primary constructor to secondary #KT-14745 Fixed
2017-01-16 17:35:51 +03:00
Dmitry Petrov
954204da82
KT-1560
...
Report warning on extensions shadowed by members.
2017-01-16 17:25:13 +03:00