Commit Graph

45894 Commits

Author SHA1 Message Date
Roman Artemev 4f2d5baa5d [KT-24335]
Fix inheritance from interface which is also inherited from an external interface
Add test case
2018-05-11 11:26:34 +03:00
Dmitry Petrov 93f5fe2451 IrField is 'final' if corresponding property is 'val' 2018-05-11 11:24:46 +03:00
Dmitry Petrov d83849eec5 IR: IrValueSymbol.owner: IrValueDeclaration 2018-05-11 11:24:46 +03:00
Dmitry Petrov 1592aa499f IR: IrFunctionSymbol.owner: IrFunction
This requires some class hierarchy juggling around
IrFunction and IrReturnableBlock.
2018-05-11 11:24:46 +03:00
Dmitry Petrov f500329dac IR: IrFunction.name 2018-05-11 11:24:46 +03:00
Dmitry Petrov 729efaf912 IR: IrConstructor.isPrimary
NB this is required for Kotlin/JS.
2018-05-11 11:24:46 +03:00
Dmitry Petrov a6057fb499 IR: {IrClass, IrFunction, IrProperty, IrField}.isExternal 2018-05-11 11:24:46 +03:00
Dmitry Petrov 9717345e3b IR: IrField.isFinal 2018-05-11 11:24:46 +03:00
Vyacheslav Gerasimov 9721ca8d09 as32: Update compiler.pro for AS 3.2 C14 2018-05-10 23:28:42 +03:00
Nikolay Krasko 6f6237aedb Unneeded bunch file for autowiredConstructor.test in 172 2018-05-10 23:28:41 +03:00
Nikolay Krasko 4e26b04bb2 Remove unneeded files after move to 181 from 173 2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov c1f5ebb28e as32: Fix usages of AppResourceRepository in AS 3.2 C14 plugin 2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov 4adc0a94ab as32: Update to 181 platform api 2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov ab25145458 as32: Restore uast to 181 platform state 2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov daa860651f as32: Update AS 3.2 version to 3.2.0.13 2018-05-10 23:28:41 +03:00
Alexey Tsvetkov c026c7f24b Filter out non-Java files from kapt inputs
#KT-23878 fixed
2018-05-10 22:01:06 +03:00
Alexey Tsvetkov 5f3c57e69a Filter out generated Java files from stubs generation inputs 2018-05-10 21:58:35 +03:00
Anton Bannykh 23fb5107c7 JS: fix Long inlining (private, companion) (KT-24189 fixed). 2018-05-10 21:06:50 +03:00
Toshiaki Kameyama da92c844a6 Might be 'const': fix false positive in object literal #KT-23756 Fixed 2018-05-10 20:42:32 +03:00
Mikhail Glukhikh 84d71e5a8c "Wrap with let": minor enhancement (related to KT-6364) 2018-05-10 20:41:53 +03:00
Toshiaki Kameyama b6564ed19a "Wrap with let": fix for nullable extension function call #KT-6364 Fixed 2018-05-10 20:28:14 +03:00
Sergey Igushkin 093842932f Filter some characters out of module names passed to Kotlin from Gradle
This addresses the cases when a module name contains a slash
 (e.g. when the Gradle project name was set this way to point
Gradle to the directory), which led to Kotlin module file being placed
under a subdirectory of META-INF and thus undiscoverable for the
compiler and reflect.

Additionally, this fix removes characters \n, \r, \t whose
presence in a module name caused compilation failures.

Issue #KT-20608 Fixed
2018-05-10 19:17:03 +03:00
Mikhail Glukhikh a8ad980910 If to when: label break / continue if necessary #KT-11427 Fixed 2018-05-10 18:46:24 +03:00
Mikhail Glukhikh 2812601e2d Reformat: add loop label 2018-05-10 18:46:18 +03:00
Mikhail Glukhikh 73a756084e Reformat: if to when 2018-05-10 18:46:17 +03:00
Ilya Gorbunov d9d7b87fd9 Reformat kotlin.test library 2018-05-10 16:27:15 +03:00
Vyacheslav Gerasimov 06aaa990be Build: Exclude maven from CIDR plugin artifact 2018-05-08 21:49:08 +03:00
Vyacheslav Gerasimov 3d7f2f663f Build: Extract maven ide module from kotlin-plugin.jar to standalone jar 2018-05-08 21:49:08 +03:00
Vyacheslav Gerasimov f666db74f9 Build: Exclude standalone kotlin compiler and jps from CIDR artifact 2018-05-08 21:49:08 +03:00
Vyacheslav Gerasimov f2b323fbe3 Build: Extract jps-common ide module from kotlin-plugin.jar to standalone jar 2018-05-08 21:49:08 +03:00
Vyacheslav Gerasimov 4d4ff636d2 Build: Extract jvm ide module from kotlin-plugin.jar to standalone jar 2018-05-08 21:49:07 +03:00
Vyacheslav Gerasimov 80f5a1d44d Build: Exclude j2k from CIDR plugin artifact 2018-05-08 21:49:07 +03:00
Vyacheslav Gerasimov 282f2a46b1 Build: Exclude kapt from CIDR plugin artifact 2018-05-08 21:49:07 +03:00
Vyacheslav Gerasimov 42cfacdf0c Build: Extract j2k to standalone jar 2018-05-08 21:49:07 +03:00
Vyacheslav Gerasimov 8773e2d6f3 Build: Fix zipCidrPlugin destination file name, missed zip extension 2018-05-08 21:49:07 +03:00
Toshiaki Kameyama 3aab68d635 Add "Make variable immutable" quickfix for const #KT-24263 Fixed 2018-05-08 18:37:10 +03:00
Toshiaki Kameyama d1c2ea4095 Reformat: QuickFixRegistrar 2018-05-08 18:37:10 +03:00
Toshiaki Kameyama e26ab28d45 Reformat: ChangeVariableMutabilityFix 2018-05-08 18:37:10 +03:00
Mikhail Glukhikh e141f4f407 Convert array to vararg: extract text variants to constants 2018-05-08 18:37:09 +03:00
Toshiaki Kameyama da92eb63a0 Add intention replacing vararg with array and vice versa #KT-23419 Fixed 2018-05-08 18:37:09 +03:00
Mikhail Glukhikh e933bb8220 Unused symbol suppression: get annotation descriptors via entries
Otherwise we miss use-site targeted annotations,
and getUseSiteTargetedAnnotations does not help
So #KT-20332 Fixed
2018-05-08 18:37:09 +03:00
Mikhail Glukhikh 59c019cb00 Reformat: unused symbol inspection 2018-05-08 18:37:08 +03:00
Mikhail Glukhikh 78ed39856e UnnecessaryVariableInspection: do not show dialogs #KT-22989 Fixed 2018-05-08 18:37:08 +03:00
Mikhail Glukhikh 39c0b57724 Reformat: UnnecessaryVariableInspection 2018-05-08 18:37:08 +03:00
Mikhail Glukhikh de85235bd7 Reformat: KotlinInlineValHandler 2018-05-08 18:37:07 +03:00
Mikhail Glukhikh 5246c54dad Do not suggest removing empty parentheses if lambda is on the next line
So #KT-15195 Fixed
2018-05-08 18:37:07 +03:00
Mikhail Glukhikh 6968540889 Reformat: RemoveEmptyParenthesesFromLambdaCallIntention 2018-05-08 18:37:07 +03:00
Nicolay Mitropolsky 24b8d12eca 182: fixing SlicePanel compilation after isToShowCloseButton method removal 2018-05-08 18:35:04 +03:00
Ilya Chernikov e727e20973 [minor] Improve daemon exceptions logging 2018-05-08 15:59:45 +02:00
Alexey Tsvetkov 89da660186 Replace assertContains with assertTasksExecuted/assertTasksUpToDate 2018-05-08 15:24:45 +03:00