Alexander Udalov
|
59b29cf00d
|
Minor, extract isDeprecatedHidden for usage in codegen
Also remove a hundred year old TODO
|
2016-10-11 17:30:11 +03:00 |
|
Alexander Udalov
|
2e4592c6dc
|
Report error on bound callable references in compatibility mode
Previously examples were failing with IllegalStateException from JVM back-end
because there was an error type without any error reported
|
2016-10-11 17:30:10 +03:00 |
|
Valentin Kipyatkov
|
73dc5fefcb
|
KT-12077 Code completion inserts FQN for annotations with use-site target inside primary constructor
KT-13009 Kotlin: annotation auto-import is broken in multiple ways
#KT-12077 Fixed
#KT-13009 Fixed
|
2016-10-11 17:26:52 +03:00 |
|
Valentin Kipyatkov
|
0c14058d13
|
Moved tests
|
2016-10-11 17:26:52 +03:00 |
|
Ilya Gorbunov
|
16a0c55c6c
|
Since 'printStackTrace' now fallbacks to the extension in stdlib, change the test expecting it to be deprecated due to language-version 1.0 accordingly.
|
2016-10-11 16:46:14 +03:00 |
|
Ilya Gorbunov
|
a239231c75
|
Revert dropping inline-only extensions for Throwable, to be able to use runtime of 1.1 with language version of 1.0 which makes mapped builtin members unavailable again.
#KT-14213 Fixed
|
2016-10-11 16:46:14 +03:00 |
|
Dmitry Jemerov
|
fc46afc108
|
reduce ComponentRegistry memory use
#KT-13136 Fixed
|
2016-10-11 15:35:06 +02:00 |
|
Dmitry Petrov
|
2cd6b1d586
|
KT-14282 No error on unused type alias with -language-version 1.0
Always resolve descriptors for type aliases.
|
2016-10-11 16:33:21 +03:00 |
|
Mikhail Glukhikh
|
206374cd17
|
Minor refactoring: destructure intention
|
2016-10-11 16:13:21 +03:00 |
|
Mikhail Glukhikh
|
c6fefbc223
|
Rename: intention tests "ifNullToElvis" --> "foldInitializerAndIfToElvis"
|
2016-10-11 16:13:16 +03: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 |
|
Mikhail Glukhikh
|
121f0ec810
|
KT-14032 related: if expression to elvis now handles also is and !is checks
|
2016-10-11 16:13:06 +03:00 |
|
Mikhail Glukhikh
|
8188bb1e54
|
Destructure intention: entries / entrySet are now removed only for kotlin.Map inheritors #KT-14244 Fixed
|
2016-10-11 16:13:01 +03:00 |
|
Mikhail Glukhikh
|
304f6a3b3a
|
KT-13943 related: inspection is now always reported if manual destructuring is available
|
2016-10-11 16:12:56 +03:00 |
|
Mikhail Glukhikh
|
475d5548c4
|
Destructure intention now handles the case with manual destructuring inside #KT-13943 Fixed
|
2016-10-11 16:12:51 +03:00 |
|
Nikolay Krasko
|
c7ba19696a
|
Refactoring: stop calling deprecated method
(cherry picked from commit 083656c)
|
2016-10-11 15:35:44 +03:00 |
|
Nikolay Krasko
|
11f8c904c4
|
Refactoring: inline method + inline variable
(cherry picked from commit 7e0f100)
|
2016-10-11 15:35:43 +03:00 |
|
Nikolay Krasko
|
bd2ddbafb3
|
Refactoring: call apply method without returning intermediate object
(cherry picked from commit a2f7e00)
|
2016-10-11 15:35:41 +03:00 |
|
Nikolay Krasko
|
78525ed7c6
|
Refactoring: make createCommand non-nullable
(cherry picked from commit 67cc9b5)
|
2016-10-11 15:35:40 +03:00 |
|
Nikolay Krasko
|
f7813263ee
|
Refactoring: rename getStepOverPosition -> getStepOverAction
(cherry picked from commit 2b71909)
|
2016-10-11 15:35:38 +03:00 |
|
Denis Zharkov
|
194853b5c2
|
Fix backend issue related to JvmStatic val with accessor
Do not treat accessors to JvmStatic properties as having dispatch receiver
#KT-11585 Fixed
|
2016-10-11 12:22:03 +03:00 |
|
Denis Zharkov
|
543cf7b265
|
Minor. Move isJvmStatic* functions to backend
|
2016-10-11 12:22:03 +03:00 |
|
Alexey Andreev
|
30c2c85c94
|
KT-13830: support case when LHS of augmented assignment is something different than qualified expression or array access
|
2016-10-11 11:54:04 +03:00 |
|
Yoshinori Isogai
|
afe8244183
|
KT-14241 Add Intention + Inspection to remove empty class body (#968)
|
2016-10-10 19:24:39 +02:00 |
|
Ilya Gorbunov
|
4236a4dd07
|
Farewell, excluded imports from the platform. If anyone ever needs them again, they are buried in this commit.
|
2016-10-10 20:14:32 +03:00 |
|
Ilya Gorbunov
|
f2c5fee1cf
|
Consider only direct children of non-kotlin default imported packages when looking for aliased types.
|
2016-10-10 20:14:32 +03:00 |
|
Ilya Gorbunov
|
3baf2f8942
|
Use fully-qualified references to exceptions in kotlin-runtime
|
2016-10-10 20:14:32 +03:00 |
|
Ilya Gorbunov
|
7e2e2b9f19
|
Use effectively excluded imports from file's module descriptor.
|
2016-10-10 20:14:32 +03:00 |
|
Ilya Gorbunov
|
ff01b3d41b
|
Search java.lang aliases also in kotlin.text package (for aliases to Appendable and StringBuilder)
|
2016-10-10 20:14:32 +03:00 |
|
Ilya Gorbunov
|
5042158df5
|
Determine automatically which types from java.lang is aliased in default imported kotlin packages and exclude them from imported java.lang.* scope.
|
2016-10-10 20:14:32 +03:00 |
|
Zalim Bashorov
|
45d42bdff8
|
JS: add inspection for the case when something with dynamic type implicitly casted to kotlin another type
|
2016-10-10 17:30:51 +03:00 |
|
Ilya Chernikov
|
d05cb9f894
|
Fix idea module file
|
2016-10-10 15:28:20 +02:00 |
|
Ilya Chernikov
|
1e59f96f6b
|
Add missing idea module file
|
2016-10-10 13:57:41 +02:00 |
|
Valentin Kipyatkov
|
b84260f39f
|
Fixed multiple bugs in optimize imports for JS-target
#KT-13689 Fixed
|
2016-10-10 14:48:16 +03:00 |
|
Valentin Kipyatkov
|
45cd4f1e29
|
Refactoring
|
2016-10-10 14:48:16 +03:00 |
|
Valentin Kipyatkov
|
326db55835
|
Used KtReference.resolvesByNames instead of own code
|
2016-10-10 14:48:16 +03:00 |
|
Valentin Kipyatkov
|
5734f2ba9b
|
KT-9950 IntelliJ IDEA does not suggest importing extension methods which have the same name as an instance method
#KT-9950 Fixed
|
2016-10-10 14:48:15 +03:00 |
|
Valentin Kipyatkov
|
49ac6b99f6
|
Removed redundant
|
2016-10-10 14:48:15 +03:00 |
|
Valentin Kipyatkov
|
c06e2d994e
|
KT-13884 Exception "Invalid root block PSI element" on replacing trivial when-expression to if
#KT-13884 Fixed
|
2016-10-10 14:48:15 +03:00 |
|
Valentin Kipyatkov
|
597cd04831
|
KT-13719 'var' can be made 'val' highlighting range with annotation before
#KT-13719 Fixed
|
2016-10-10 14:48:14 +03:00 |
|
Mikhail Glukhikh
|
8d48b0d2a0
|
UNUSED_VARIABLE is now reported only for last entry of destructuring declaration (if applicable) #KT-14221 Fixed
|
2016-10-10 14:42:09 +03:00 |
|
Mikhail Glukhikh
|
126304c197
|
Destructure intention applied (compiler)
|
2016-10-10 14:42:04 +03:00 |
|
Michael Bogdanov
|
d911de20f9
|
Print bytecode on signature test fail
|
2016-10-10 14:17:51 +03:00 |
|
Michael Bogdanov
|
f8e9922c9e
|
Don't generate generic signature for get/set methods in property reference class
|
2016-10-10 14:17:50 +03:00 |
|
Michael Bogdanov
|
5bd045c79c
|
Fix for KT-14243: Wrong invocation descriptor on calling implicitly generated implementation in class
#KT-14243 Fixed
|
2016-10-10 14:17:50 +03:00 |
|
Dmitry Jemerov
|
ce0d81f670
|
to avoid running resolve under ClsTypeElement lock, return empty modifier list if we're currently calculating the return type (the modifier list is requested to apply type annotations, and we don't care about them anyway)
#KT-12966 Fixed
|
2016-10-10 12:48:51 +02:00 |
|
Dmitry Jemerov
|
e55c82d3f3
|
don't try to resolve declaration to descriptor if we don't have any annotations
|
2016-10-10 12:46:35 +02:00 |
|
Ilya Chernikov
|
b7a52dc685
|
Add more standard templates
|
2016-10-10 11:24:54 +02:00 |
|
Ilya Chernikov
|
5e5ebaa68b
|
Create a script runtime jar with a copy of standard script template (renamed)
|
2016-10-10 11:24:53 +02:00 |
|
Alexey Andreev
|
61b429f2f0
|
JS: fix exception during translation of for expression with iterator having generic type constrained by Iterable. Fix #KT-8385
|
2016-10-10 11:22:21 +03:00 |
|