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
Ilya Gorbunov
c6abf75856
Do not generate primitive type definition for Char, place it in a file beside.
2015-05-27 00:58:24 +03:00
Ilya Gorbunov
5f319e69d8
Restore String.split(String, Int) overload and make it deprecated.
2015-05-27 00:36:30 +03:00
Ilya Gorbunov
1566ea83c7
Rename conflicting repeat function with the same behavior from js tests.
2015-05-26 23:23:39 +03:00
Ilya Gorbunov
310666a617
Deprecate times method taking integer and function. Provide top-level repeat method instead.
...
#KT-7074 Fixed.
2015-05-26 23:23:37 +03:00
Ilya Gorbunov
45c82f2844
map(): Take into account size of collection being transformed when allocating ArrayList.
...
#KT-7832 Fixed.
2015-05-26 23:23:36 +03:00
Ilya Gorbunov
c9afb407f1
Provide isNotEmpty() extension function for Maps.
2015-05-26 23:23:34 +03:00
Ilya Gorbunov
01a0348685
Remove deprecated size property usage from generated code.
2015-05-26 23:23:32 +03:00
Alexey Sedunov
58ef7f2691
Extraction Engine: Suggest both bounds for nullability-flexible types without nullability annotations. Do not omit return type if inferred one is flexible
...
#KT-6837 Fixed
2015-05-26 22:42:46 +03:00
Alexey Sedunov
72205540d6
Extract Function: Show possible types for receiver in Extract Function/Introduce Lambda Parameter dialogs
...
#KT-7578 Fixed
2015-05-26 22:42:43 +03:00
Alexey Sedunov
cb9b1019b2
Function <-> Property Intention: Fix conversion of recursive functions/property accessors
...
#KT-7823 Fixed
2015-05-26 19:29:09 +03:00
Alexey Sedunov
5afc6235cc
Move: Do not update package directives in files that don't belong to source root
...
#KT-7824 Fixed
2015-05-26 19:29:08 +03:00
Alexey Sedunov
6a1ae8b911
Minor: Code cleanup
2015-05-26 19:29:07 +03:00
Alexey Sedunov
cc351e55b0
Create from usage: Use type predicates provided by control-flow analysis to suggest more precise types
...
#KT-7742 Fixed
2015-05-26 19:29:06 +03:00
Alexey Sedunov
c757701a87
Refactoring: Extract function getContainingPseudocode()
2015-05-26 19:29:05 +03:00
Alexey Sedunov
b6ea2d4fd4
Control-Flow: Compute type predicates for arguments of unresolved calls
2015-05-26 19:29:04 +03:00
Alexey Sedunov
036e2c585b
Refactoring: Introduce getReferenceTargets() function
2015-05-26 19:28:11 +03:00
Alexey Sedunov
640f07969a
Refactoring: Extract createUnresolvedCall() functions
2015-05-26 19:28:10 +03:00
Alexey Sedunov
3d3b5591e1
Control-Flow: Improve debug text of ReadValueInstruction
2015-05-26 19:28:09 +03:00
Alexey Sedunov
868329e3cb
Control-Flow: Fix pseudocode generation for combined get/set and invoke conventions
...
#KT-4462 Fixed
#KT-4681 Fixed
2015-05-26 19:28:07 +03:00