Commit Graph

33284 Commits

Author SHA1 Message Date
Alexey Sedunov e908c6c1b2 Search: Restrict KtParameter usage scope to its containing declaration
#KT-13542 Fixed
 #KT-8672 Fixed
2016-08-24 11:27:19 +03:00
Alexey Sedunov 6480118da6 Move: Report separate conflicts for each property accessor
#KT-13216 Fixed
2016-08-24 11:27:18 +03:00
Alexey Sedunov 9607fd0620 Pull Up: Remove visibility modifiers on adding 'override'
#KT-13535 Fixed
2016-08-24 11:27:17 +03:00
Alexey Sedunov 47d4454590 Type Hierarchy: Support Type Hierarchy on references inside of super type call entries
#KT-9125 Fixed
2016-08-24 11:27:16 +03:00
Alexey Sedunov cd1943c8b0 Convert to Kotlin: HierarchyUtils (prettify) 2016-08-24 11:27:16 +03:00
Alexey Sedunov 4622f08b5e Convert to Kotlin: HierarchyUtils 2016-08-24 11:27:15 +03:00
Alexey Sedunov 91cc22e599 Convert to Kotlin: HierarchyUtils (rename to .kt) 2016-08-24 11:27:14 +03:00
Alexey Sedunov 05abc0127b Convert to Kotlin: KotlinTypeHierarchyProvider (prettify) 2016-08-24 11:27:13 +03:00
Alexey Sedunov 23d9f923ac Convert to Kotlin: KotlinTypeHierarchyProvider 2016-08-24 11:27:12 +03:00
Alexey Sedunov 438777a0de Convert to Kotlin: KotlinTypeHierarchyProvider (rename to .kt) 2016-08-24 11:27:12 +03:00
Stanislav Erokhin 0cf7490500 Moved OverloadingConflictResolver into resolution module. 2016-08-24 11:11:45 +03:00
Stanislav Erokhin f31493f80f Introduce SimpleConstraintSystem for OverloadChecker and OverloadingConflictResolver 2016-08-24 11:11:44 +03:00
Stanislav Erokhin 5ad0e4e9b8 Refactoring. Support in OverloadingConflictResolver any kind of ResolvedCalls. 2016-08-24 11:11:37 +03:00
Stanislav Erokhin b695f5edd9 Refactoring. Some simplifications in OverloadingConflictResolver. 2016-08-24 11:10:34 +03:00
Valentin Kipyatkov 512fb3f191 Renamed method 2016-08-23 22:47:43 +03:00
Valentin Kipyatkov f21f23744e Hopefully fixed EA-87200 - TCE: UtilsKt.tryChangeAndCheckErrors
#EA-87200 Fixed
2016-08-23 22:47:42 +03:00
Valentin Kipyatkov 2d875e516e Groupped tests by folders 2016-08-23 22:47:42 +03:00
Valentin Kipyatkov d0f6e25783 sum and sumBy supported 2016-08-23 22:47:42 +03:00
Valentin Kipyatkov 7c92f7974f Corrected comment 2016-08-23 22:47:42 +03:00
Valentin Kipyatkov 61d1826980 Better test 2016-08-23 22:47:41 +03:00
Valentin Kipyatkov 91954e131a Math.max/min pattern for min/max supported 2016-08-23 22:47:41 +03:00
Valentin Kipyatkov 84fd24a1a0 Another pattern for min/max supported 2016-08-23 22:47:41 +03:00
Valentin Kipyatkov 930f7960ea max()/minI() supported 2016-08-23 22:47:41 +03:00
Valentin Kipyatkov 26cdd0d5d5 KT-13482 "Loop can be replaced with stdlib operations" changes semantics
#KT-13482 Fixed
2016-08-23 22:47:40 +03:00
Valentin Kipyatkov 38edb58e60 Preserve formatting of parenthesis in calls too 2016-08-23 22:46:44 +03:00
Valentin Kipyatkov 87294207f9 Introduced Identifier.withNoPrototype() 2016-08-23 22:46:43 +03:00
Valentin Kipyatkov 0554e1702c KT-11804 J2K: incorrect closing parenthesis position for method split to several lines
#KT-11804 Fixed
2016-08-23 22:46:43 +03:00
Valentin Kipyatkov 20c17fc435 Use of Block.of() 2016-08-23 22:46:43 +03:00
Alexey Andreev 7016ce9b41 JS: refactor how cached access translators work. Fix cached access translator in case of arrays. Use cached access translator to translate reassignments 2016-08-23 18:06:51 +03:00
Alexey Andreev cb2c8edaf9 JS: don't translate RHS of overloaded assignment operators twice. It can break compilation in some cases, for example, when there are lambdas in RHS.
Fix #KT-12808 #KT-12807
2016-08-23 18:06:51 +03:00
Alexey Andreev 996c1b6f87 JS: add support of JS module kind to Gradle task. Add tests of support of module kind to Maven tests 2016-08-23 17:12:37 +03:00
Mikhail Glukhikh d08d8af407 USELESS_ELVIS_RIGHT_IS_NULL : build fix (add to different files in DiagnosticsTestGenerated), do not report if USELESS_ELVIS already exists
(cherry picked from commit c71b656)
2016-08-23 16:26:54 +03:00
Alexey Andreev df86840515 KT-13025: when receiver of call of 'invoke' method is a Function, check whether receiver is an extension function and generate additional '.call' invocation. Fix #KT-13025 2016-08-23 15:45:48 +03:00
Alexey Andreev c767b3d0ac KT-13043: fix translation of super call from secondary constructor when base constructor has default arguments 2016-08-23 15:44:27 +03:00
Mikhail Glukhikh b00b0caa9b Merge pull request #937 from shiraji/useless_elvis_with_null
KT-13521 Warning right part of "expression ?: null" is useless
2016-08-22 19:38:09 +03:00
shiraji a3f131d6c6 KT-13521 Warning right part of "expression ?: null" is useless
#KT-13521 Fixed
2016-08-23 01:10:10 +09:00
Alexey Tsvetkov ebf3c9404a Fix incremental build with kapt and gradle 2.14
#KT-13179 fixed
2016-08-22 19:05:06 +03:00
Valentin Kipyatkov c9d335394d KT-13529 Java function is not always converted to Kotlin after paste
#KT-13529 Fixed
2016-08-22 17:52:48 +03:00
Dmitry Jemerov ebd45a8c5c use less brute-force method for updating converted file content in J2K (may fix KT-13493 and friends) 2016-08-22 16:20:10 +02:00
Mikhail Glukhikh c07906fac4 Replace with safe calls forbidden for comparisons #KT-13432 Fixed 2016-08-22 15:11:33 +03:00
Kirill Rakhman 1fbd6678a5 Add quickfix for "A type annotation is required on a value parameter" #KT-12804 Fixed 2016-08-22 15:11:28 +03:00
Kirill Rakhman 2dd4194a79 Clean up quick fix package 2016-08-22 15:11:23 +03:00
shiraji 1bbde54e9d Inspection to warn on using == with array types #KT-13384 Fixed 2016-08-22 15:11:19 +03:00
Yoshinori Isogai 7d35316d95 KT-4519 Show first line with content of block comment when collapsed (#928) 2016-08-22 13:08:44 +02:00
Yoshinori Isogai 4669fb3ca7 KT-12697 Expand selection action select ": Type" (#898) 2016-08-22 12:35:23 +02:00
Mikhail Glukhikh b3b83e344b Added fake override search in unused symbol inspection #KT-13288 Fixed 2016-08-22 13:18:40 +03:00
Mikhail Glukhikh 8de68e3e87 Merge pull request #931 from cypressious/empty_parens
Add intention+inspection to remove empty parentheses from method call with single lambda parameter
2016-08-22 11:34:24 +03:00
Mikhail Glukhikh 3aee2f004e Merge pull request #932 from cypressious/kt13480
Fix "Can be replaced with comparison" false positive if extension method called 'equals' is used
2016-08-22 11:32:53 +03:00
Kirill Rakhman 1bc2af6436 Add intention+inspection to remove empty parentheses from method call with single lambda parameter
Fixes #KT-13519
2016-08-20 16:03:42 +02:00
Kirill Rakhman e6e46809de fix "Can be replaced with comparison" false positive if extension method called 'equals' is used
Fixes #KT-13480
2016-08-20 14:11:57 +02:00