Commit Graph

22851 Commits

Author SHA1 Message Date
Valentin Kipyatkov ee681cbeed DeprecatedSymbolUsageFix: renamed local 2015-05-27 16:15:49 +03:00
Valentin Kipyatkov e767cdef83 DeprecatedSymbolUsageFix: fixed nested calls with implicit receivers in the pattern 2015-05-27 16:15:49 +03:00
Valentin Kipyatkov 4407523b65 DeprecatedSymbolUsageFix: more correct code + refactoring 2015-05-27 16:15:49 +03:00
Valentin Kipyatkov a9e00a3264 DeprecatedSymbolUsageFix: can drop more arguments when function literal argument exist 2015-05-27 16:15:49 +03:00
Valentin Kipyatkov 2e2701aa61 DeprecatedSymbolUsageFix: keeping named arguments 2015-05-27 16:15:49 +03:00
Valentin Kipyatkov 0c397548e8 createByPattern fix (after we changed way how JetPsiFactory.createArgument works 2015-05-27 16:15:49 +03:00
Valentin Kipyatkov 6b66e3b0e6 JetPsiFactory: refactored method for creating argument + introduced ability to create arbitrary constructs by pattern 2015-05-27 16:15:49 +03:00
Valentin Kipyatkov 161630a449 DeprecatedSymbolUsageFix: keeping functional literal arguments out of parenthesis 2015-05-27 16:15:48 +03:00
Valentin Kipyatkov 36f41c6d13 Minor code simplification 2015-05-27 16:15:48 +03:00
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