Valentin Kipyatkov
be9a3d10f6
DeprecatedSymbolUsageFix: fixed bug with symbols from root package not imported
2015-05-27 16:15:48 +03:00
Valentin Kipyatkov
97d3620262
DeprecatedSymbolUsageFix: dealing with vararg's
2015-05-27 16:15:48 +03:00
Valentin Kipyatkov
f8a4d9bf0b
Moved test data into subfolders
2015-05-27 16:15:48 +03:00
Valentin Kipyatkov
6ddb208bb7
Removed default values from inline functions to workaround compiler's bug
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
f58ce760ca
DeprecatedSymbolUsageFix: support for optional parameters (not complete)
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
766ca2b905
Deprecated symbol usages fix for the whole project
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
78302be571
Minor code clarification
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
5c445ca003
DeprecatedSymbolUsageFix: dealing with dropping arguments with potential side effects + stdlib's "let" has no receiver type bound
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
08cfca56f8
DeprecatedSymbolUsageFix - dealing with infix and operator calls
2015-05-27 16:15:47 +03:00
Valentin Kipyatkov
33caa7ad36
Moved utility method
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
a6f76bbf76
Fixed keywords after 'this@' completion + fixed implementation of JetExpressionWithLabel.getLabelName()
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
2a5ca095ee
DeprecatedSymbolUsageFix - correct dealing with implicit receivers + fixed KT-7776 in completion
...
#KT-7776 Fixed
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
5da192ddd4
DeprecatedSymbolUsageFix - fixed bug with usage in derived class
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
450168d6c7
DeprecatedSymbolUsageFix - code refactoring
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
a773542d47
DeprecatedSymbolUsageFix - handling of complex expressions used twice
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
4999958ca4
DeprecatedSymbolUsageFix - other way of safe call treatment - prepare to handle arguments with side effects
2015-05-27 16:15:45 +03:00
Valentin Kipyatkov
348d09866a
DeprecatedSymbolUsageFix: more correct generation of "let" for safe call
2015-05-27 16:15:45 +03:00
Valentin Kipyatkov
df850d7035
DeprecatedSymbolUsageFix: initial implementation
2015-05-27 16:15:45 +03:00
Valentin Kipyatkov
0a886320ca
JetWholeProjectForEachElementOfTypeFix - not too much duplicating string arguments
2015-05-27 16:15:45 +03:00
Valentin Kipyatkov
7d8a92aeb7
More correct code in class completion insert handler
2015-05-27 16:15:45 +03:00
Valentin Kipyatkov
d7c64d44b6
Better implementation of "Move lambda outside parenthesis"
2015-05-27 16:15:44 +03:00
Valentin Kipyatkov
3bca1d1f83
"Move lambda outside parenthesis" should not be available when not valid
2015-05-27 16:15:44 +03:00
Valentin Kipyatkov
25e323e960
Methods for editing in JetValueArgumentList
2015-05-27 16:15:44 +03:00
Valentin Kipyatkov
1e60c24134
Added ResolutionFacada.resolveImportReference and used it (but not all places replaced yet!!)
2015-05-27 16:15:44 +03:00
Valentin Kipyatkov
5a737b8973
Correctness check in JetPsiFactory.createExpression
2015-05-27 16:15:44 +03:00
Valentin Kipyatkov
0dc92c3ee8
QuickFixMultiFileTestGenerated - shorter test data files names
2015-05-27 16:15:44 +03:00
Yan Zhulanow
2a7b5501f4
Do not generate annotations.txt file if kapt is not used in project
2015-05-27 16:11:08 +03:00
Yan Zhulanow
33ba9e85c0
Close kapt writer only once
2015-05-27 16:11:07 +03:00
Yan Zhulanow
42ba2860a6
Gradle: Do not save javaTask extract property
2015-05-27 16:11:07 +03:00
Yan Zhulanow
b254825427
kapt: fix several annotation processors in AP wrapper
2015-05-27 16:11:06 +03:00
Yan Zhulanow
28a3865997
Cache writer instance in kapt
2015-05-27 16:11:05 +03:00
Yan Zhulanow
c2dd7d197e
APT: Use task qualifiers in annotation file names
2015-05-27 16:11:05 +03:00
Yan Zhulanow
cbe435ccef
APT: Remove stub Java file after Java compile step
2015-05-27 16:11:04 +03:00
Yan Zhulanow
0a450c1739
Fix compatibility issues with Android Gradle plugin 1.2
2015-05-27 16:11:03 +03:00
Evgeny Gerashchenko
88021ffc73
KT-7381 Receiver parameter is never used for native extension function
...
#KT-7381 fixed
2015-05-27 16:07:09 +03:00
Evgeny Gerashchenko
2a23bc79f3
KT-7256 False "Receiver parameter not used" for property with delegation
...
#KT-7256 fixed
2015-05-27 16:07:09 +03:00
Sergey Mashkov
6e444baedb
Indexer advance() should check previousTokens size before look inside
...
fixes IndexOutOfBounds during indexing
2015-05-27 15:32:00 +03:00
Dmitry Jemerov
1188e57597
rename @overloads annotation to @jvmOverloads
2015-05-27 12:23:08 +02:00
Natalia Ukhorskaya
5c7d13e23c
JetPositionManager: do not analyze breakpoints in files outside source roots
2015-05-27 11:17:48 +03:00
Natalia Ukhorskaya
2d509b3211
Write correct lineNumbers for properties with comments
2015-05-27 11:17:46 +03:00
Natalia Ukhorskaya
ffb7027680
JetPositionManager: fix finding psi file by source name
2015-05-27 11:17:44 +03:00
Natalia Ukhorskaya
c77d448832
Fix EA-68813: readAccess in JetPositionManager
2015-05-27 10:20:10 +03:00
Natalia Ukhorskaya
0fbcfddf4a
Gradle: debug message prefix added
2015-05-27 10:20:09 +03:00
Denis Zharkov
cab2328b64
Do not insert type parameters when replacing javaClass with T::class
...
Type parameters are invalid for class literal unless class is `Array`
2015-05-27 08:24:57 +03:00
Denis Zharkov
eb80764d21
Introduce forceResolveLazyTypes into TypeResolutionContext
...
The main reason is to force type resolution when resolving
type arguments in class literal as annotation value argument:
@Ann(Array<String>::class) class Ann
`String` left unresolved unless this commit is applied.
Note, that currently forced calculations used only when bare types are allowed
as it's true for class literals resolution and currenlty it's enough.
2015-05-27 08:24:42 +03:00
Alexander Udalov
f9556e584d
Minor, suppress code conformance test for generated sources
2015-05-27 01:44:19 +03:00
Alexander Udalov
6ae7ed1cc4
Add some new tests on functions and extension functions
2015-05-27 01:44:19 +03:00
Alexander Udalov
fae2d0231c
Fix test data, restore incorrectly deleted import
...
It was mistakenly deleted in 738a84e and 48b18f1
2015-05-27 01:44:18 +03:00
Ilya Gorbunov
9c5844cf45
Restore mapping between PsiFiles and VirtualFiles, otherwise built-ins psi elements will become invalid in next test.
2015-05-27 00:58:46 +03:00
Ilya Gorbunov
84ca26719d
Deprecate meaningless or vague-defined operations with Char operands.
...
Change expected test output.
2015-05-27 00:58:35 +03:00