Ilya Gorbunov
703ee6bd78
Have mutable collection interfaces specified explicitly to get rid of platform types in parameter and return types.
2016-10-14 19:06:25 +03:00
Nikolay Krasko
06b72e608e
Do an ordinal step over while stepping over inlined calls in dex
...
(cherry picked from commit d741895)
2016-10-14 18:57:38 +03:00
Ilya Gorbunov
b6460e6280
binary-compatibility-validator, minor: refactor annotation utilities.
2016-10-14 18:53:54 +03:00
Alexey Tsvetkov
01e0bc8d5e
Ensure task build directory always exist
...
#KT-14253 fixed
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
d79679e647
Provide a way to force stdout output in Gradle tests
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
229e63f5c5
Minor: rename file its name is the same as class it contains
2016-10-14 17:33:54 +03:00
Alexey Tsvetkov
a0fa69c000
Do not check the content of JS file in Gradle test
2016-10-14 17:33:54 +03:00
Kirill Rakhman
09d6e2e0c0
Add quick-fixes for lateinit-related errors #KT-14342 Fixed
2016-10-14 16:14:00 +03:00
Alexey Tsvetkov
86cb7eea4a
Test that kotlin gradle options are up to date
...
#KT-14317 fixed
2016-10-14 15:55:41 +03:00
Alexey Tsvetkov
0097e14ba1
Fix test dependencies for gradle integration tests
2016-10-14 15:55:24 +03:00
Denis Zharkov
48c33333ee
Do not add special names to scopes even partially
...
See 7a41d13b41
It's may be dangerous to call `addDescriptor` and then
not to add descriptor into the variablesAndClassifiersByName map
2016-10-14 15:50:31 +03:00
Nikolay Krasko
fe901e9516
Use Dex suffix instead of dex prefix for better test sorting
...
(cherry picked from commit 7f3a9c1)
2016-10-14 14:52:56 +03:00
Nikolay Krasko
2511ef2c45
Refactoring: extract KotlinStepOverInlineFilter class
...
(cherry picked from commit 27b0e7d)
2016-10-14 14:52:51 +03:00
Nikolay Krasko
7510ff4864
Check current behaviour of stepping over inline 'hasNext' and 'next' in for
...
(cherry picked from commit 008e574)
#KT-14296 Open
2016-10-14 14:52:44 +03:00
Nikolay Krasko
40d810ce60
Make step over for single thread work in Ultimate
...
(cherry picked from commit a220e64)
2016-10-14 14:52:39 +03:00
Nikolay Krasko
7992df7b93
Change the way 'step over' over inline calls works (KT-13751)
...
Previously it worked by invoking 'Run To Cursor' for the last position of inline function. As there's only one 'run to cursor' breakpoint
available in Idea framework, it couldn't work when inline function call was was used in conditions of control flow statements.
A new approach works through multiple step over operation and controlling stop position. In other words we try to "step over" inlined lines.
Same thing is actually done in "Smart Step Into" action.
(cherry picked from commit 2e8775d)
#KT-13751 Fixed
2016-10-14 14:52:31 +03:00
Nikolay Krasko
9594316b0a
Test for "Breakpoint inside lambda argument of InlineOnly function doesn't work" (KT-11395)
...
(cherry picked from commit d0ffe06)
#KT-11395 Fixed
2016-10-14 14:52:22 +03:00
Nikolay Krasko
87b628a3f7
Generate 'nop' instruction on lambda call when everything on line is going to be eliminated by inliner (KT-6477)
...
(cherry picked from commit 462bdb2)
#KT-6477 Fixed
2016-10-14 14:52:06 +03:00
Yoshinori Isogai
708a0e3b5d
KT-14329 Do not report inspection "Remove empty class body" for anonymous objects ( #972 )
2016-10-14 13:00:55 +02:00
Valentin Kipyatkov
2b2042860d
Fixed ParameterName annotation target
2016-10-14 12:24:43 +03:00
Michael Bogdanov
050139220d
Fix for KT-14330 java.lang.IllegalArgumentException: Parameter specified as non-null is null: method ... parameter value
...
#KT-14330 Fixed
2016-10-14 10:56:15 +03:00
Dmitry Petrov
fbe3f1537f
Make static initializer classes for inheriting multifile class parts annotated as SYNTHETIC_CLASS.
2016-10-14 10:41:20 +03:00
Zalim Bashorov
0a0a05d211
Add tasks to download node.js (platform independently) and tasks to publish packages to npm; extract some common things to common.xml
2016-10-13 23:22:36 +03:00
Zalim Bashorov
96830e306a
JS: add templates for kotlin and kotlin-compiler packages
2016-10-13 23:22:36 +03:00
Valentin Kipyatkov
76fe1ec0d9
KT-14353 ClassCastException during offline inspections
...
#KT-14353 Fixed
2016-10-13 21:51:38 +03:00
Alexey Sedunov
3eb5076a7c
Rename: Fix in-place rename on non-overriding functions
2016-10-13 19:01:00 +03:00
Alexey Sedunov
c6c65b1a20
Kotlin Facet: Initial implementation
2016-10-13 19:00:59 +03:00
Alexey Sedunov
5c2ad48375
Introduce Variable: Do not replace assignment left-hand sides
...
#KT-14240 Fixed
2016-10-13 19:00:58 +03:00
Alexey Sedunov
ec00b9f3ea
Intentions: Implement "Convert sealed class to enum" intention
...
#KT-14245 Fixed
2016-10-13 19:00:57 +03:00
Alexey Sedunov
2187a77646
Intentions: Implement "Convert enum to sealed class" intention
...
#KT-14245 In Progress
2016-10-13 19:00:56 +03:00
Alexey Sedunov
02e8d58acd
Rename: Forbid on backing field reference
...
#KT-14285 Fixed
2016-10-13 19:00:55 +03:00
Alexey Sedunov
c23c16f1a3
Extract Superclass/Interface: Add filename field to the dialog
2016-10-13 19:00:54 +03:00
Simon Ogorodnik
e14a043b0a
Fix for KT-10885
...
Assignment as expression conversion: e.g int i = j = 0
2016-10-13 18:52:44 +03:00
Simon Ogorodnik
d731f97c7d
Fix KT-13021, KT-13020, Test for already fixed KT-6941
...
Fixes on javadoc to kdoc comments convert
2016-10-13 18:52:31 +03:00
Simon Ogorodnik
155cfcb1f8
Fix for KT-6424
...
Remove "SuppressWarnings" and "//noinspection" on java to kotlin conversion
2016-10-13 18:51:48 +03:00
Dmitry Petrov
47b3420a65
Minor: testData fix after rebase
2016-10-13 18:03:00 +03:00
Dmitry Petrov
e7ca00d91b
Support @SinceKotlin annotation for type aliases.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
8d634f6003
KT-14274: resolve type alias constructors calls in supertypes list as type alias constructors.
...
Support @Deprecated for type aliases, including type alias constructors.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
bee0e783f8
Minor cleanup.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
3d0288ffed
Annotations on type aliases: generate synthetic method for type alias annotations.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
d2d8f72ffc
Annotations on type aliases: typealias is not a "default target".
...
Add diagnostic test for annotations on type aliases.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
344bb03e8c
Annotations on type aliases: add annotation target TYPEALIAS,
...
use it for @Deprecated and @Suppress.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
c6350e1afb
Concatenate annotations in type alias expansion.
2016-10-13 17:44:14 +03:00
Mikhail Glukhikh
7a41d13b41
Do not add special names to scopes #KT-14319 Fixed
2016-10-13 17:17:05 +03:00
Dmitry Jemerov
7263109413
advance until-build to 171.*
2016-10-13 16:15:07 +02:00
Dmitry Jemerov
b1b171fbc5
correct way to check if intention is applicable; revert: Delete test that is transformed syntax error
2016-10-13 15:45:55 +02:00
takahirom
925c48c2f0
Fix 'in' operator intention for Strings (KT-13974)
2016-10-13 15:45:30 +02:00
takahirom
93c2e7dfc0
KT-13550 Fix Boolean.TYPE does not compile ( #969 )
...
* Fix Boolean.TYPE does not compile
2016-10-13 15:02:06 +02:00
Valentin Kipyatkov
29fe63d5a9
More correct code - ensure that equals works correctly!
2016-10-13 15:56:18 +03:00
Valentin Kipyatkov
0399772ee6
KT-9835 Completion thinks receiver is nullable when it is not
...
#KT-9835 Fixed
2016-10-13 15:11:19 +03:00