Mikhail Glukhikh
7ac55cefcb
Extra test with smart cast to 'T'
2016-01-22 16:36:57 +03:00
Mikhail Glukhikh
d5ffa0bbca
DelegatingDataFlowInfo: default constructor
2016-01-22 16:36:54 +03:00
Mikhail Glukhikh
7870ad2445
DataFlowInfo converted to Kotlin, DataFlowInfoFactory introduced
2016-01-22 16:36:51 +03:00
Mikhail Glukhikh
9e1c2f396e
DataFlowInfo.java --> DataFlowInfo.kt
2016-01-22 16:36:48 +03:00
Alexey Tsvetkov
f63a9ee556
Optimize adding lookups to lookup storage
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov
f32ff42ba3
Recompile implicit type usages when class signature is changed
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov
310a995bb1
Add lookup for every expression's type
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov
1ef615e020
Add incremental compilation test with change of annotation class
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov
5ce692a75c
Improve proto comparison test with changes of annotation list
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov
58a91b3d20
Add proto comparison tests with changes of class/member flags
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov
a7c432ebe8
Add incremental compilation tests with changes of companion object
2016-01-22 16:01:35 +03:00
Alexey Sedunov
618f9f62f6
Code Insight: "Generate toString" action
...
#KT-10309 Fixed
2016-01-22 15:50:19 +03:00
Alexey Sedunov
77b637e238
Change Signature: Skip Java methods which can't be resolved from Kotlin (such as methods of local classes)
...
#KT-10432 Fixed
2016-01-22 15:50:17 +03:00
Alexey Sedunov
0104bfec86
Add val/var to Constructor Parameter: Fix caret position before starting template
2016-01-22 15:50:16 +03:00
Alexey Sedunov
8da986ff24
Add Initializer Quick-Fix: Place caret at the end of generated initializer
...
#KT-10704 Fixed
2016-01-22 15:50:15 +03:00
Alexey Sedunov
9081f5df52
Introduce Variable: Move caret to the end of declaration when replacing "statement" expression
...
#KT-10663 Fixed
2016-01-22 15:50:14 +03:00
Pavel V. Talanov
16ab4bec34
Try to diagnose NoDescriptorForDeclarationException in completion
2016-01-22 15:32:37 +03:00
Dmitry Petrov
55b7e4bbf0
Ignore special resolved calls for 'when' in PSI unifier.
2016-01-22 10:41:56 +03:00
Dmitry Petrov
a33c840939
Fix Kotlin build after fixing when-related type checking issues.
...
Filed: KT-10752, KT-10755.
2016-01-22 10:41:55 +03:00
Dmitry Petrov
f371e67ce8
PatternMatchingTypingVisitor:
...
rewrite type inference for 'when' using special constructs.
This fixes several type inference issues for 'when':
KT-9929, KT-9972, KT-10439, KT-10463
along with some other diagnostics-related issues.
2016-01-22 10:41:55 +03:00
Dmitry Petrov
b49e08fe04
PatternMatchingTypingVisitor:
...
separate condition data flow info analysis and exhaustiveness check
from type inference for "incomplete" (statement-like) 'when'.
2016-01-22 10:41:55 +03:00
Michael Bogdanov
a76d16931c
Temporary generate old default method
2016-01-22 10:10:32 +03:00
Michael Bogdanov
829978a37d
Added additional parameter for default methods
2016-01-22 10:10:32 +03:00
Ilya Gorbunov
875287574f
Update testData for LoadBuiltinsTest and BuiltInDecompilerTest
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
4d5ec9be3f
Drop identityEquals from builtins, compiler and tests.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
f5f5a2dcc1
Move progression final element test to stdlib tests.
...
Less values are tested for iteration not to timeout in js tests.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
2a125ca92d
Drop deprecated builtins: PropertyMetadata, progression internal utils, HiddenDeclaration and Extension annotations
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
31ec7bcbea
Deprecate String.concat with error severity.
...
Fix concat j2k conversion.
Add expected deprecation errors for Java String constructors that must be converted to special Kotlin String methods.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
2257fa36ec
Drop deprecations: text and system
...
Fix import in testData
Fix testData: replace removed method.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
8bf638c60f
Drop deprecations: FileTreeWalk deprecated API elements.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
e9c14a02d3
Make FilePathComponents internal, temporary disable tests of internal API
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
c1ad82ff8c
Harden charset-as-string taking function deprecations.
...
Fix usages in compiler.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
6d5a65cac6
Minor: remove File?.readTextOrEmpty()
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
d728a1a6c7
Replace File.relativePath from stdlib with File.descendantRelativeTo in fileUtils.
...
IO utils: cleanup java usages.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
b39b29dfea
Drop deprecations: io and threading functions.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
25c4453dc5
Cleanup deprecated symbol usages in testData
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
eefbd72a64
Remove AddStarProjectionsFix for removed javaClass<T> function.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
cbc3a3b595
Make IndexingIterator and IndexingIterable internal.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
9142025df6
Drop deprecations: reflection utilites.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
69f884dcd3
Drop deprecations: preconditions with non-lazy message.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
768a23f7eb
Drop deprecations: functions that were converted to properties.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
2813840769
Fix testData: diagnostics changed.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
ef0d998fbc
Drop deprecations: *Raw functions.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
d1a5988bfc
Drop deprecations: complicated map delegates and kotlin.support.AbstractIterator.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
4f1d2252f0
Make test for replacement, which requires adding import to the package with operator, independent from stdlib.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
d7f8754282
Drop deprecated classes inheriting multifile facade classes moved out of kotlin package.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
473773723b
Drop deprecations in kotlin.test
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
85a02d40c6
Drop hidden declarations provided for binary compatibility
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
264c9a0fc9
Drop deprecated toGenerator and toLinkedList (again).
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
b97e436a50
Fix deprecated Range and Progression usages in testData
2016-01-22 05:54:38 +03:00