Commit Graph

50807 Commits

Author SHA1 Message Date
Georgy Bronnikov bf4f552478 IR. Remove descriptors from KCallableNamePropertyLowering 2018-12-10 17:26:55 +03:00
Simon Ogorodnik 33f937c923 Remove property with @JvmDefault to make test pass
In sake of #KT-28708
2018-12-10 16:08:54 +03:00
Simon Ogorodnik 2165cfe91d JavaAgainstKotlinBinaries: Allow specifying extra compiler options 2018-12-10 16:08:53 +03:00
Simon Ogorodnik bd774766f1 Add test debug logging for PerModulePackageCacheService 2018-12-10 16:08:52 +03:00
Simon Ogorodnik e3b181e412 Restore processing of delete events 2018-12-10 16:08:51 +03:00
Dmitry Petrov 8ede477f99 KT-28585 Fix boxing for values of captured vars of inline class type 2018-12-10 14:57:09 +03:00
Dmitry Petrov 45035d3e11 KT-28405 Fix toString for inline classes with underlying arrays 2018-12-10 14:57:09 +03:00
Dmitry Savvinov 500dc11514 Fix missed returned expression if the last expression was condition jump
See ticket comments for the detailed description

^KT-28061 Fixed
2018-12-10 13:38:43 +03:00
Dmitry Savvinov c9e87bf353 Add test on in-place lambda with return + safecall
Currently, diagnostics behavior is undesired. The next commit fixes it

^KT-28061 In Progress
2018-12-10 13:38:43 +03:00
Nicolay Mitropolsky b918786336 Uast: enabling multiresolve by default 2018-12-10 13:26:25 +03:00
Toshiaki Kameyama 07ffac72cf Assign backing field: don't add empty line
#KT-28694 Fixed
2018-12-10 12:06:55 +03:00
Mikhail Glukhikh 79537a5fdb Fix check in isSameRootType. May fix KT-28626. Related to KT-27718 2018-12-07 18:57:09 +03:00
victor.petukhov 6c4f255393 Actualize PSI spec tests after fix KT-27762 2018-12-07 18:35:43 +03:00
victor.petukhov 60def724be Fix invalid package pattern in spec tests parser 2018-12-07 18:35:43 +03:00
victor.petukhov b9d1825765 Implement tests exceptions fixation mechanism 2018-12-07 18:35:43 +03:00
Nikolay Krasko 8da9bdf928 Relax package convention name inspection for Kotlin project 2018-12-07 18:32:10 +03:00
Nikolay Krasko 2373c9d838 Allow underscore in packages and forbid uppercase letters (KT-27900) 2018-12-07 18:32:09 +03:00
Nikolay Krasko e0d3abc819 Do not indent and align initializer list in enums (KT-28070)
#KT-28070 Fixed
2018-12-07 18:32:07 +03:00
Nikolay Krasko bbf05eaaba Fix test compilation because of using HierarchyViewTestFixture in <= 181 2018-12-07 18:24:41 +03:00
Shagen Ogandzhanian 1f0bca12e1 Leave undefined values for undefined params in idl-generated code unassigned
https://upsource.jetbrains.com/kotlin/review/KOTLIN-CR-2535
2018-12-07 16:05:00 +01:00
Roman Artemev 1ad2434fa0 Add changelog for 1.3.11 2018-12-07 17:58:20 +03:00
Roman Artemev 4e05be9a96 Update tests 2018-12-07 17:58:20 +03:00
Roman Artemev eff81525d3 Make IrField be IrDeclarationParent
* fix parent in TypeOperatorLowering
2018-12-07 17:58:20 +03:00
Roman Artemev ce70e5850f [JS IR BE] New Inliner from native 2018-12-07 17:58:20 +03:00
Ilya Gorbunov 7b08f6f8f1 readLine: extend buffer to decode surrogate pairs from utf-8 correctly
CharBuffer had capacity to hold 2 chars, which was not enough to append
a surrogate pair when the buffer was not empty.

The buffer was extended and the decoding algorithm rewritten to deal with
a buffer of any length.

#KT-28572 Fixed
2018-12-07 17:42:09 +03:00
Nikita Katkov 297054037c Dispatchers IO is now considered non-blocking context
See BlockingMethodInNonBlockingContextInspection
2018-12-07 15:19:12 +03:00
Mikhail Glukhikh 3b33d3e58d MPP wizard: drop some target names to use defaults instead 2018-12-07 13:18:56 +03:00
Mikhail Glukhikh 8e81d9a44f Migrate mobile (shared) / native / shared library MPP wizards to new DSL
#KT-28458 Fixed
2018-12-07 12:48:31 +03:00
Mikhail Glukhikh 9a0facf56a Upgrade MPP wizard tests to use kotlin 1.3.20-dev with new MPP DSL 2018-12-07 12:46:14 +03:00
Dmitry Petrov 0561cb6c0d Fix KT-24804 PSI2IR Crashes on loop with two labels 2018-12-07 10:51:55 +03:00
Dmitry Petrov 6f97db81c8 Update testData after IR type rendering changes 2018-12-07 10:51:55 +03:00
Dmitry Petrov f8582c1929 psi2ir: ersatz type approximation for intersection types
Emulate old JVM back-end behavior for intersection type mapping.

IrType renderer should render the IR type, not the original Kotlin type.
2018-12-07 10:51:55 +03:00
Natalia Selezneva 0e4908087c Fix NoReadAccessException running scratch file in Android Studio
KtScratchSourceFileProcessor accesses PsiElement.getText
2018-12-07 10:25:09 +03:00
Natalia Selezneva 62584f2483 Fix IndexNotReadyException during runnning scratch file in Android Studio 2018-12-07 10:25:06 +03:00
Natalia Selezneva 84aef9cf2d Minor: remove unnecessary parameter 2018-12-07 10:25:04 +03:00
Natalia Selezneva b8007f1ee9 Scratch: filter out fake gradle modules from combobox
^KT-23523 Fixed
2018-12-07 10:25:01 +03:00
Natalia Selezneva 4a2e8849b9 Tests: allow file access to KotlinTestUtils.getHomeDirectory() in AbstractConfigureKotlinTest
This test configure kotlin standard library, so it should have access to .jar files from project dist directory
2018-12-07 10:22:59 +03:00
Andrey Uskov abadfbb632 Fix dependencies after removal of build scripts bunches 2018-12-06 22:58:39 +03:00
Andrey Uskov 235b6ca6cd Fix stacktrace check for KT-27718. This work-around should be removed after fix of IDEA-203651
#KT-27718 Fixed
2018-12-06 20:23:05 +03:00
Vyacheslav Gerasimov d84c5b1608 Switch to 183 platform 2018-12-06 20:16:58 +03:00
Toshiaki Kameyama 5aa0b7d2aa Extend Selection: whole literal with braces is selected after parameters (KT-13420)
#KT-13420 Fixed
2018-12-06 19:48:04 +03:00
Nikolay Krasko 05269cea2f Reformat in idea.editor package 2018-12-06 19:48:03 +03:00
Andrey Uskov c85f56a0a8 Remove some bunches for build scripts. 2018-12-06 19:44:09 +03:00
Denis Zharkov d8ebb70151 Advance enum entries in smart completion list
^KT-22579 Fixed
2018-12-06 17:38:31 +03:00
Denis Zharkov d2d81d6ddc Minor. Reformat StaticMembers.kt 2018-12-06 17:38:31 +03:00
Ilmir Usmanov 1336e8f3e3 Take java 9 modules into account in coroutines debug metadata
reading
 #KT-28237
2018-12-06 16:59:15 +03:00
Ilmir Usmanov bdd1eef39a Use class name instead internal name in coroutines debug metadata
I.e. instead of slashes use dots in fqnames.

 #KT-28237 Fixed
2018-12-06 16:59:12 +03:00
Ilmir Usmanov 5483ce0933 Do not map this when remapping parameters of static function inside
inline lambda.

 #KT-23543 Fixed
2018-12-06 15:46:22 +03:00
Mikhail Glukhikh de33905c44 Fix formatting in "simplify call chain" #KT-28576 Fixed 2018-12-06 15:37:47 +03:00
Mikhail Glukhikh a3909d8e47 Refactor code in "simplify call chain" (relates to KT-28576) 2018-12-06 15:37:47 +03:00