Commit Graph

46218 Commits

Author SHA1 Message Date
Roman Artemev 6d29aab5e2 [JS IR BE] Implement vararg in JS BE 2018-05-24 21:36:12 +03:00
Roman Artemev 84447d59e1 [JS IR BE] Update test data 2018-05-24 21:07:25 +03:00
Roman Artemev 3ec722eaa1 [JS IR BE] Implement labeled loops 2018-05-24 21:07:09 +03:00
Roman Artemev 6811c87fc7 [JS IR BE] Implement block decomposition lowering 2018-05-24 21:06:49 +03:00
Nikolay Krasko 1eeb202a1a Use background task for Kotlin decompiler (KT-23981)
#KT-23981 Fixed
2018-05-24 20:03:23 +03:00
Nikolay Krasko 6c56a7949c Don't call an additional update check when selecting channel with enter 2018-05-24 20:03:22 +03:00
Nikolay Krasko 468f7f234f Don't show default companion name in inlay type hints (KT-22432)
#KT-22432 Fixed
2018-05-24 20:03:22 +03:00
Nikolay Krasko 918f47e832 Refactoring: extract common code to functions 2018-05-24 20:03:22 +03:00
Nikolay Krasko 0a2bb74187 Refactoring: move compatibility issue fix in decompiler to separate file 2018-05-24 20:03:22 +03:00
Nikolay Krasko c8654a0033 Minor: reformat and fix warnings in internal package 2018-05-24 20:03:21 +03:00
Nikolay Krasko 39694835ce Do not report lambda return hint twice for postfix and prefix (KT-22653)
#KT-22653 Fixed
2018-05-24 20:03:21 +03:00
Toshiaki Kameyama 5e4d571693 Reformat RemoveModifierFix 2018-05-24 17:29:16 +03:00
Toshiaki Kameyama 0100dfb2fd Add "Remove 'lateinit'" quickfix for INAPPLICABLE_LATEINIT_MODIFIER
So #KT-24295 Fixed
2018-05-24 17:26:54 +03:00
Mikhail Glukhikh f8f3b1c6f1 Provide language version settings correctly for platform modules
So #KT-24546 Fixed
2018-05-24 16:40:52 +03:00
Ilmir Usmanov 6c3d69f74c Minor: Add KotlinTypeMapper constructor overload 2018-05-24 15:42:53 +03:00
Alexander Udalov d122406dca Map Kotlin TYPE target to Java TYPE_USE in bytecode
And TYPE_PARAMETER -> TYPE_PARAMETER similarly

 #KT-23857 Fixed
2018-05-24 14:41:22 +02:00
Mikhail Glukhikh fbb0a3e06c Convert async {}.await() to withContext(DefaultDispatcher) {}
This fixes incorrect transformation related to KT-24235
2018-05-24 15:15:25 +03:00
Mikhail Glukhikh 4ed4754d80 Additional tests for KT-21131 2018-05-24 15:15:23 +03:00
Mikhail Glukhikh f3c2dd0526 Code inliner: keep main property if it can have side effects
So #KT-24165 Fixed
2018-05-24 15:15:22 +03:00
Mikhail Glukhikh 93a510c05b Code inliner: move lambda outside parentheses always when possible
So #KT-24215 Fixed
2018-05-24 15:15:21 +03:00
Mikhail Glukhikh bb8c3495b8 Reformat & cleanup: CodeInliner 2018-05-24 15:15:19 +03:00
Mikhail Glukhikh 2d7e274860 Fix importing scope order in ReplaceWithAnnotationAnalyzer
So #KT-22615 Fixed
2018-05-24 15:15:13 +03:00
Mikhail Glukhikh 394a547084 Reformat: ReplaceWithAnnotationAnalyzer 2018-05-24 15:15:10 +03:00
Mikhail Glukhikh 75724c0240 Reformat: CodeToInline 2018-05-24 15:15:09 +03:00
Mikhail Glukhikh 251491757d Reformat: CallableUsageReplacementStrategy 2018-05-24 15:15:08 +03:00
Mikhail Glukhikh 0655e153c3 Reformat: DeprecatedSymbolUsageFixBase 2018-05-24 15:15:07 +03:00
Mikhail Glukhikh 7cb4c91277 Reformat: DeprecatedSymbolUsageFix 2018-05-24 15:15:06 +03:00
Mikhail Glukhikh 8d74ff4799 Fix Java inspection performance tests 2018-05-24 15:13:19 +03:00
Mikhail Glukhikh 18c59578be Light class performance test: rename test file 2018-05-24 15:13:18 +03:00
Mikhail Glukhikh 3b6d610e29 Light class performance test: access field & method types
So #KT-24085 Fixed
2018-05-24 15:13:18 +03:00
Mikhail Glukhikh 75eeb32970 Light class performance test: build also light nested classes
So #KT-24085 In Progress
2018-05-24 15:13:18 +03:00
Mikhail Glukhikh bb4cf08d0b Light class performance test: evaluate all supertypes / methods / fields
So #KT-24085 In Progress
2018-05-24 15:13:18 +03:00
Mikhail Glukhikh 1861e0a21d Introduce performance test for light classes building (top-level)
So #KT-24085 In Progress
2018-05-24 15:13:18 +03:00
Natalia Selezneva 98fe8eaa42 Minor: add test that output at scratch line with spaces at the beginning is aligned properly 2018-05-24 15:07:37 +03:00
Natalia Selezneva db63877690 Scratch: take into account only lines with expressions calculating inlay insert offset 2018-05-24 15:07:37 +03:00
Natalia Selezneva aa7c13e30b Run scratch if there are some compilation error during make 2018-05-24 15:07:37 +03:00
Natalia Selezneva 5a7b58c615 Substring long scratch output with new lines
^KT-24016 Fixed
2018-05-24 15:07:37 +03:00
Natalia Selezneva 94bb19c765 Provide line info for scratch output in scratch toolwindow
^KT-24016
2018-05-24 15:07:37 +03:00
Natalia Selezneva a505a948d2 Scratch tests: add check for toolwindow output 2018-05-24 15:07:37 +03:00
Natalia Selezneva bce0a77a94 Scratch: fix duplicating of errors in scratch output toolwindow 2018-05-24 15:07:37 +03:00
Natalia Selezneva e3b6fad2cd Scratch: test alignment of inlays 2018-05-24 15:07:37 +03:00
Natalia Selezneva 5da0252651 Minor: rename file and rearrange classes 2018-05-24 15:07:37 +03:00
Natalia Selezneva 420da0d213 Introduce ToolWindowScratchOutputHandler 2018-05-24 15:07:37 +03:00
Natalia Selezneva aa1e604923 Refactoring: move ScratchToolWindowFactory to scratch.output package 2018-05-24 15:07:37 +03:00
Natalia Selezneva 614fa9d0c7 Refactoring: move ScratchFileRenderer to separate file 2018-05-24 15:07:37 +03:00
Natalia Selezneva afa6110e6a Minor: replace assert with user-friendly error 2018-05-24 15:07:37 +03:00
Natalia Selezneva 75ad78460f Setting for auto-reloading script dependencies isn't loaded from xml on project reopening 2018-05-24 15:07:37 +03:00
Natalia Selezneva 54f9359195 Minor: fixes after review 2018-05-24 15:07:37 +03:00
Sergey Rostov 098e51d104 jps: support dev kit module types (and all other ModuleBasedBuildTargetType). fix brunch 172 2018-05-24 14:59:46 +03:00
Alexander Udalov bf3419c3bd Introduce OptionalExpectation for annotations missing on some platforms
This commits adds a new annotation OptionalExpectation to the standard
library, which is experimental. To enable its usage, either pass
'-Xuse-experimental=kotlin.ExperimentalMultiplatform' as a compiler
argument, or '-Xuse-experimental=kotlin.Experimental' and also annotate
each usage with `@UseExperimental(ExperimentalMultiplatform::class)`

 #KT-18882 Fixed
2018-05-24 13:14:51 +02:00