Svetlana Isakova
c167a77c8a
Filter annotations while substituting compound type
2015-10-22 21:55:17 +03:00
Svetlana Isakova
f00af72e0f
Fixed 'OnlyInputTypes' working with platform types
2015-10-22 21:55:16 +03:00
Svetlana Isakova
b24cb2a326
Fixed 'OnlyInputTypes' working with number types
2015-10-22 21:55:14 +03:00
Svetlana Isakova
9877fe1a26
Fixed the call completer
...
to update the type of the argument expression correctly
2015-10-22 21:55:13 +03:00
Svetlana Isakova
06e90cf6a1
Annotated the return type of 'elvis' function with @Exact
...
fun <T> ELVIS(T?, T): @Exact T
2015-10-22 21:55:12 +03:00
Svetlana Isakova
7150be7c67
Minor: fixed error message
2015-10-22 19:09:46 +03:00
Valentin Kipyatkov
27ef6fab21
Accessor completion uses code style settings
2015-10-22 18:48:19 +03:00
Valentin Kipyatkov
74f2d60e19
No duplicate property accessor should be allowed
2015-10-22 18:48:19 +03:00
Valentin Kipyatkov
6eba45febd
KT-9661 Code completion of "get" and "set" in property accessors
...
#KT-9661 Fixed
2015-10-22 18:48:19 +03:00
Valentin Kipyatkov
798223b0e4
Better presentation for use site targets in completion
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov
b7809ed94a
Functions to properties
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov
6cfb30bb81
KT-9388 Code completion inserts use-site annotation target with superfluous chars
...
#KT-9388 Fixed
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov
fabf3e5e84
More correct keyword completion after "@"
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov
235399f784
KT-8036 Completion does not suggest file after @ in file header
...
#KT-8036 Fixed
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov
33a0673f49
Minor
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov
5d3145c3c3
Fixed KT-7431 org.jetbrains.kotlin.idea.quickfix.AutoImportFix memory leak
...
#KT-7341 Fixed
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov
b26a590614
KT-7844 Completion for top level classes should propose the file name
...
#KT-7844 Fixed
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov
eb8fb80325
ScrollType.CENTER for create from usage
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov
0a520f8bdd
More creation by pattern instead of text
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov
612f9b1041
Comments and formatting preseving added
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov
7c8967ea4e
Refactored to use creation of expression by pattern instead of plain text
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov
311bd5f25d
One more test added
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov
a3d9085ddd
Disabled "Convert to get/set call" intention where it did not work correctly anyway
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov
c6978d6b69
KT-9450 «Replace overloaded operator with function call» breaks code for index access result saved to variable
...
#KT-9450 Fixed
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov
6baef687ef
Minor
2015-10-22 18:48:16 +03:00
Valentin Kipyatkov
ab04ae4956
KT-9365 Code completion does not suggest annotation names at type usage
...
#KT-9365 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov
197218a512
KT-9389 Code completion inserts annotation FQN into annotation list
...
#KT-9389 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov
66310806ca
KT-9628 Intention&inspection to replace use of "set" operator function with []
...
#KT-9628 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov
852579e7f3
Renamed class
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov
255373162d
KT-9666 Inner classes do not appear in type completion
...
#KT-9666
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov
375ecb4026
Refactored CompletionKind removing duplication with CallType
2015-10-22 18:48:14 +03:00
Valentin Kipyatkov
b4501a6b98
Fixed filtering of annotation classes in annotation completion broken recently
2015-10-22 18:48:14 +03:00
Michael Bogdanov
d5126213d3
Fix for KT-9364: M13 Wrong compiler error for "unable to inline function"
...
#KT-9364 Fixed
2015-10-22 17:20:57 +03:00
Michael Bogdanov
a7b3c70d21
Fix for KT-7017: Reified type referenced in object literal crashes at runtime
...
#KT-7017 Fixed
2015-10-22 16:06:13 +03:00
Michael Bogdanov
3e19514099
Test for obsolete KT-6988: java.lang.VerifyError: Bad return caused by inline reified
...
#KT-6988 Obsolete
2015-10-22 16:06:10 +03:00
Dmitry Petrov
1a58636ea9
KT-6165, KT-9547: fix testData for JPS plugin.
...
Test contains effectively single module (with circular dependencies),
and should not have conflicting declarations.
Rename the package in a library used in this test.
#KT-9547 Fixed
2015-10-22 11:37:01 +03:00
Dmitry Petrov
829fc6938a
KT-9547: private package member can conflict only with the members
...
declared in the same file.
Cleanup OverloadUtil stuff.
Update testData.
2015-10-22 10:45:49 +03:00
Dmitry Petrov
5170341624
OverloadResolver:
...
fix redeclaration diagnostics issue in incremental compilation (KT-6165)
J2K: OverloadUtil.kt
2015-10-22 10:45:49 +03:00
Dmitry Petrov
f3cc6fc170
J2K: rename OverloadUtil.java --> OverloadUtil.kt
2015-10-22 10:45:49 +03:00
Denis Zharkov
8c62e80d2b
Minor. Use property instead of deprecated function in Operations map
2015-10-21 17:51:44 +03:00
Denis Zharkov
8db206e7ff
Take into account irrelevant implementation of special builtins
2015-10-21 17:51:43 +03:00
Denis Zharkov
d674aa1427
Refine signature mapping for special overrrides from Java
...
They have special JVM descriptor only when they are not inherited from
Kotlin super class
2015-10-21 17:51:43 +03:00
Denis Zharkov
f3a652de2f
Minor. Add assertion about same modality of accessors
2015-10-21 17:51:43 +03:00
Denis Zharkov
c46b766fea
Load special property from Java in cases of J-K-J hierarchy
2015-10-21 17:51:43 +03:00
Denis Zharkov
e31f751830
Minor. Move hasRealKotlinSuperClassWithOverrideOf to descriptor.loader.java
2015-10-21 17:51:43 +03:00
Denis Zharkov
0b3118554b
Extract hasRealKotlinSuperClassWithOverrideOf and simplify needGenerateSpecialBridge
...
Temporary don't mind that some element `reachableDeclarations` is
final in Java because it's anyway follows that function descriptor itself is final.
2015-10-21 17:51:43 +03:00
Michael Bogdanov
4dcf940756
Test for obsolete KT-4860
...
#KT-4860 Obsolete
2015-10-21 17:12:18 +03:00
Michael Bogdanov
55d2300860
Fix for KT-6722
...
#KT-6722 Fixed
2015-10-21 17:12:17 +03:00
Michael Bogdanov
f4d3ecf8e6
Generate public constructor for anonymous objects if it inside inline fun
...
#KT-9331 Fixed
2015-10-21 17:12:17 +03:00
Mikhail Glukhikh
3d56012184
Backing field access highlighting dropped
2015-10-21 16:37:12 +03:00