Commit Graph

33299 Commits

Author SHA1 Message Date
Mikhail Glukhikh 0ee1102e24 KT-13536 related: correct handling of objects
(cherry picked from commit 7ae9b6b)
2016-08-25 10:32:40 +03:00
Mikhail Glukhikh 6ac4bf3f17 No more SOE in UnusedSymbolInspection #KT-13536 Fixed
(cherry picked from commit 23961ee)
2016-08-25 10:32:31 +03:00
Mikhail Glukhikh 605ac0b25e Invert if: more correct handling of empty returns #KT-13444 Fixed
(cherry picked from commit be2adaf)
2016-08-25 10:32:21 +03:00
Mikhail Glukhikh 25eefdb6ec Pseudocode label now cannot be bound to a non-owning pseudocode #KT-13555 Fixed
Also EA-77641 Fixed
(cherry picked from commit 07643ce)
2016-08-25 10:32:04 +03:00
Mikhail Glukhikh 08f8a2b75c PseudocodeLabel is extracted from PseudocodeImpl (now not an inner class), some its properties / functions are supported now by base Label
(cherry picked from commit 30dd52e)
2016-08-25 10:31:53 +03:00
Mikhail Glukhikh 41ff51ca8c Label.java converted to Kotlin
(cherry picked from commit 3891d76)
2016-08-25 10:30:49 +03:00
Mikhail Glukhikh ea041661fb CFG: break and continue are now handled in the same (safe) way EA-85060 Fixed
(cherry picked from commit eec4b1b)
2016-08-25 10:30:41 +03:00
Mikhail Glukhikh d33745b646 BreakableBlockInfo : converted to Kotlin
(cherry picked from commit 22c7ee5)
2016-08-25 10:30:32 +03:00
Mikhail Glukhikh d4c40d9db0 BreakableBlockInfo.java -> BreakableBlockInfo.kt
(cherry picked from commit d5f7c3f)
2016-08-25 10:30:24 +03:00
Mikhail Glukhikh 52571f0fa9 LoopInfo: converted to Kotlin
(cherry picked from commit f64d60e)
2016-08-25 10:30:15 +03:00
Mikhail Glukhikh 751f96b648 LoopInfo.java --> LoopInfo.kt
(cherry picked from commit d952dbd)
2016-08-25 10:30:07 +03:00
Mikhail Glukhikh c9f9ae7d2a EA-85060: BreakableBlockInfo is split into LoopInfo & SubroutineInfo to make code more clear
(cherry picked from commit 48faf4a)
2016-08-25 10:29:58 +03:00
Alexey Sedunov 64f0532934 Move: Forbid moving of enum entries
#KT-13215 Fixed
2016-08-24 11:27:22 +03:00
Alexey Sedunov c50f38aa52 Intentions: Implement intention to replace camel-case test function name with a space-separated one
#KT-12489 Fixed
(cherry picked from commit 21e24a1)
2016-08-24 11:27:21 +03:00
Alexey Sedunov d9698dfa4d Search: Optimize usage scope of class members
#KT-9285 Fixed
2016-08-24 11:27:20 +03:00
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