Alexey Tsvetkov
c9012b10c5
Simplify lazy caches tests
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov
aea6ad0f0c
Move CacheVersion properties to constructor
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov
e90dc047bd
Test turning incremental compilation on/off
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov
a8b551e518
Test versioning of experimental incremental compilation
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov
69c906014f
Enable separate versioning for experimental incremental compilation
2015-12-02 20:56:35 +03:00
Pavel V. Talanov
d20fb5ddd7
BuilderFactoryForDuplicateSignatureDiagnostics: report diagnostics lazily
2015-12-02 20:44:53 +03:00
Dmitry Jemerov
05a62c5892
avoid unnecessary reads of file content during indexing
2015-12-02 18:09:19 +01:00
Dmitry Jemerov
f9306d9c3c
KotlinBinaryClassCache: J2K
2015-12-02 18:09:18 +01:00
Dmitry Jemerov
3abbdb4d15
KotlinBinaryClassCache: rename to .kt
2015-12-02 18:09:17 +01:00
Mikhail Glukhikh
dd3b85dca3
Pseudocode refactoring: repeatPart + repeatWhole
2015-12-02 18:15:03 +03:00
Mikhail Glukhikh
ea3a65d0b8
Additional tests for KT-10243
2015-12-02 18:14:59 +03:00
Pavel V. Talanov
b9ce9f8576
Script, IDE: tweak extract based refactorings to behave better in scripts
...
Fix not being able to invoke introduce variable for top level script expression
Prohibit introduce parameter and introduce property for scripts on top level
Basic test for introduce function (produces red code atm)
2015-12-02 15:14:25 +03:00
Alexey Sedunov
ffd8863875
Extract Function: Add support for member extension properties
2015-12-02 13:54:05 +03:00
Alexey Sedunov
39b46bb3ef
Extract Function: Add support for member extension functions
2015-12-02 13:54:04 +03:00
Alexey Sedunov
6abf13be41
Extract Function: Consider member property with invoke() a receiver candidate
...
#KT-9774 Fixed
2015-12-02 13:54:03 +03:00
Alexey Sedunov
03e1480476
Extraction Engine: Get rid of explicit element offset manipulation and use copyable user data instead
2015-12-02 13:54:02 +03:00
Alexey Sedunov
44bc937499
Shorten References: Fix removal of explicit companion references in the position of callee expression
...
#KT-10102
2015-12-02 13:54:01 +03:00
Alexey Sedunov
2dcc38b92f
Create from Usage: Forbid "Create parameter/local variable/property" on label references
...
#KT-10119 Fixed
2015-12-02 13:54:00 +03:00
Alexey Sedunov
3c87ccc5ff
Move File: Reimplement Move dialog for Kotlin files. Do not show "Search for references" option (consider it true in all cases)
...
#KT-10118 Fixed
2015-12-02 13:53:59 +03:00
Alexey Sedunov
bcadfd4661
Introduce Variable: Suggest choosing between single variable and
...
multi-declaration. Forbid multi-declaration for collections and arrays
#KT-10242 Fixed
2015-12-02 13:46:47 +03:00
Ilya Chernikov
c1c6d0ee3a
fixes after review
2015-12-02 10:30:56 +01:00
Ilya Chernikov
6313ecac1c
another attempt to fix parallel compilation - enabling keepalive in compiler use sites, but in jps taking parallel compilation option into account, so it should be now not set in tests
2015-12-02 10:30:56 +01:00
Mikhail Glukhikh
60e457167d
Creating deep copy of local function declaration instructions in CFA, regression test #KT-10243 Fixed
2015-12-01 23:40:50 +03:00
Stanislav Erokhin
36206ddf6d
Minor. Enable assertion for dist.
2015-12-01 20:44:27 +03:00
Ilya Gorbunov
b7a50b333e
Better replacement for containsAll, removeAll, retainAll with incompatible types.
2015-12-01 20:35:46 +03:00
Alexander Udalov
2821448dd8
Minor, simplify kdoc for KClass#qualifiedName
2015-12-01 20:20:48 +03:00
Stanislav Erokhin
8807cd828f
Removed MemberScope.getPackage
2015-12-01 15:38:04 +03:00
Stanislav Erokhin
846fb397c4
Collect all candidates for completion
2015-12-01 15:38:04 +03:00
Stanislav Erokhin
2b66af29aa
Added debug info
2015-12-01 15:38:03 +03:00
Stanislav Erokhin
22b14cfc5c
Fix missing smart casts
2015-12-01 15:38:03 +03:00
Stanislav Erokhin
3776e5698f
Removed hidden descriptors from new resolve
2015-12-01 15:38:03 +03:00
Stanislav Erokhin
e92c314b46
Base dynamic support in new resolve
2015-12-01 15:38:02 +03:00
Stanislav Erokhin
2987576a0a
Minor. fix applicability level for UsedSmartCastForDispatchReceiver
2015-12-01 15:38:02 +03:00
Stanislav Erokhin
5edadfe8ea
Refactor ScopeTowerProcessor
2015-12-01 15:38:01 +03:00
Stanislav Erokhin
bc49825f55
Fix testLib test
2015-12-01 15:38:01 +03:00
Pavel V. Talanov
aa1a08fe7a
Minor, getModuleInfo: improve on failure messages
2015-12-01 14:53:16 +03:00
Pavel V. Talanov
bc816851f1
getModuleInfo: Provide utility to default to null instead of logging an error
...
Use it to workaround cases when java resolve references some unexpected classes/files, referencing non-physical Dummy.java in particular
2015-12-01 14:53:15 +03:00
Pavel V. Talanov
5e35be347c
getModuleInfo: Correct module info for members of light classes for decompiled Kotlin classes
2015-12-01 14:53:12 +03:00
Natalia Ukhorskaya
dc60c025c3
Support Evaluate Expression for renamed local variables in inline function
...
#KT-10179 Fixed
2015-12-01 11:48:43 +03:00
Natalia Ukhorskaya
cd5e406876
Minor: fix warnings
2015-12-01 11:48:41 +03:00
Natalia Ukhorskaya
a1f3c5381e
Rename local variable for this in inline function
2015-12-01 11:48:41 +03:00
Michael Bogdanov
a932315bf9
Rename local vars from inlined function
...
#KT-9798 Fixed
2015-12-01 11:48:40 +03:00
Natalia Ukhorskaya
5073b1d372
Don't skip inlined this
2015-12-01 11:48:39 +03:00
Natalia Ukhorskaya
29778311e8
Drop unnecesary logic about additional context for lambda in debugger
2015-12-01 11:48:38 +03:00
Dmitry Petrov
f34f7556bc
KT-10192 got fixed due to new if/when check
...
(which doesn't depend on the expected type for expression)
#KT-10192 Fixed
2015-12-01 10:36:40 +03:00
Dmitry Petrov
76931affc6
KT-10139:
...
Non-exhaustive 'when' without 'else' used in expression is an error
regardless of expected type: it can't be an expression, even of type Unit.
2015-12-01 10:36:40 +03:00
Dmitry Petrov
1a3a296827
KT-10139: any if without else used in expression is an error
...
regardless of expected type: it can't be an expression, even of type Unit.
#KT-10139 Fixed
2015-12-01 10:36:40 +03:00
Denis Zharkov
b0dab4c67a
Add minor changes after review
...
- Rename GENERIC_TYPE -> GENERIC_ARGUMENT
- Make 'callableDescriptor' nullable
2015-12-01 08:21:03 +03:00
Denis Zharkov
0fd2484bc9
Fix project source to overcome bootstrap problem
2015-12-01 08:21:02 +03:00
Denis Zharkov
c4bc2c9ba6
J2K Renderer: convert and make contravariant
2015-12-01 08:21:02 +03:00