Commit Graph

49769 Commits

Author SHA1 Message Date
Nikolay Krasko 31b4db7f67 191: PersistentStateComponent and other declarations were moved to platform-api 2018-10-19 19:16:22 +03:00
Nikolay Krasko 17421ed14d 191: asm-all has 7.0-beta version in Intellij 191
Pass project to fetch extra parameters for asm-all work
2018-10-19 19:16:21 +03:00
Nikolay Krasko e86b1f2761 Workaround for generalized configuration classes in 191 2018-10-19 19:16:19 +03:00
Nikolay Krasko 8d48f9d719 Make parameters in KotlinDefaultTemplatePropertiesProvider not-null
Otherwise there's an error in 191
2018-10-19 19:16:18 +03:00
Nikolay Krasko b79762ec63 Fallback for nullable name in PsiClass 2018-10-19 19:16:17 +03:00
Nikolay Krasko 06478f5147 Unify usages of JavaRunConfigurationExtensionManager.getInstance() for 191 2018-10-19 19:16:15 +03:00
Nikolay Krasko 210b5a8ca2 element utility is removed in 191, use Element constructor instead 2018-10-19 19:16:14 +03:00
Nikolay Krasko 9299ea8f5d Introduce 191 bunch 2018-10-19 19:16:12 +03:00
Nikolay Krasko d381b4d3eb J2K: rewrite JetRunConfiguration 2018-10-19 19:16:11 +03:00
Nikolay Krasko 6d71d024e2 J2K: Rename JetRunConfiguration 2018-10-19 19:16:10 +03:00
Mikhail Glukhikh a5e508a083 Unused symbol: handle functions with inline class parameters correctly
#KT-27357 Fixed
2018-10-19 19:07:59 +03:00
Mikhail Glukhikh 0678a56ca4 Add workaround for tests to avoid problems with UnusedSymbolInspection
#KT-27664 Fixed

In particular, this should solve
"Could not initialized UnusedSymbolInspection" and
"Modifications during highlighting are not allowed"
2018-10-19 18:19:21 +03:00
Natalia Selezneva 9653fe2fcf Do not threat sources from buildSrc folder as library sources
#KT-27674 Fixed
2018-10-19 16:36:58 +03:00
Natalia Selezneva 6decd06b1b Provide dependency on buildSrc module for .gradle.kts files
#KT-23603 Fixed
#KT-14862 Fixed
#KT-24623 Fixed
#KT-25354 Fixed
2018-10-19 16:36:57 +03:00
Sergey Igushkin 285620cb28 (minor) Add missing mavenLocal() repo to a Gradle IT project 2018-10-19 16:23:01 +03:00
Roman Artemev 1338d6d66f Update tests 2018-10-19 14:07:20 +03:00
Roman Artemev 41ccea6807 [JS IR BE] Fix name clashes between static and top-level functions 2018-10-19 14:07:20 +03:00
Roman Artemev c496d8ed50 Fix Char.toLowerCase/Char.toUpperCase extensions 2018-10-19 14:03:06 +03:00
romanart 0260dc813f Update tests 2018-10-19 14:03:06 +03:00
Roman Artemev 79f7cb11f0 [JS IR BE] Fix invoke on dynamic types 2018-10-19 14:03:06 +03:00
Toshiaki Kameyama ecba862dc9 Expand selection for labeled return #KT-26987 Fixed 2018-10-19 12:24:47 +03:00
Roman Elizarov 790c5632ea Broken doc link to suspendCoroutineOrReturn fixed 2018-10-19 09:58:40 +03:00
Sergey Igushkin bccca5cfa8 (minor) Fix testResolveMppLibDependencyToMetadata after stdlib was added 2018-10-18 20:10:13 +03:00
Sergey Igushkin 91b435b4bc Check the MPP model for unused Kotlin source sets, warn when found
Issue #KT-26963 Fixed
2018-10-18 20:10:13 +03:00
romanart 44d9ff6c71 Update tests 2018-10-18 19:00:43 +03:00
romanart df5872281b [JS IR BE] Support instance check for Nothing type 2018-10-18 19:00:43 +03:00
Ilya Gorbunov c72cf02e6c Add more missing SinceKotlin("1.3") annotations 2018-10-18 16:16:34 +03:00
Pavel Punegov 0bdbcbc662 Ignore the test that uses JVM functions and String constructor 2018-10-18 16:08:38 +03:00
Lukas Welte 70d0c1a0ae Mark Result, its extensions and runCatching as available since 1.3 2018-10-18 16:05:33 +03:00
Matthew Runo 374eec04d4 KT-27445: Add QuickFix for DEPRECATED_JAVA_ANNOTATION compiler warning 2018-10-18 15:56:15 +03:00
Mikhail Glukhikh 570c770d58 MPP web wizard: integrate Ktor inside #KT-27491 Fixed 2018-10-18 15:16:46 +03:00
Mikhail Glukhikh c770a80ab9 MPP wizard tests: run Native tests using correct task name 2018-10-18 15:16:46 +03:00
Anton Bannykh 3a105debb3 [JS IR BE] fix default arguments lowering 2018-10-18 14:25:48 +03:00
Anton Bannykh e9c932260c [JS IR BE] minor refactoring 2018-10-18 14:25:48 +03:00
Anton Bannykh 29ff4d6677 [JS IR BE]: Disable incremental compilation tests until IC is supported 2018-10-18 14:24:05 +03:00
Anton Bannykh 995ac7aac2 [JS IR BE]: make deleteProperty non-inline due to new inliner limitations 2018-10-18 14:24:05 +03:00
Dmitry Savvinov e2bf43c54f Minor: update testdata in ClsStubBuilder test on contracts 2018-10-18 13:15:05 +03:00
Alexander Udalov 5fb1bbe3f3 Add bytecode listing test on private default setter
Also fix test data of the kotlinp test and remove the newly added test
case in the obsolete PropertyGenTest

 #KT-20344 Fixed
2018-10-18 12:13:22 +02:00
Fabian Mastenbroek 05f6ed40f1 Don't generate setters for trivial private property setters
This change will prevent the compiler for generating Java bytecode for
private property setters that are trivial.

Since Kotlin uses direct field access for private properties, it will result
in the private setter never been used and since it cannot be accessed by any
other class without reflection, the setter cannot be covered by code
coverage tools.

See https://youtrack.jetbrains.com/issue/KT-20344 for the related YouTrack
issue.
2018-10-18 12:05:46 +02:00
Alexander Udalov b1e82c78da Minor, remove obsolete KtMockFileTypeManager.java.183
This is a continuation of 4f0c31ef
2018-10-18 11:58:30 +02:00
Dmitry Savvinov 7887bafc5b Minor: update testdata in completion test on contracts 2018-10-18 12:09:10 +03:00
Dmitry Petrov 763e72603a Mark implicit 'invoke' calls with origin INVOKE 2018-10-18 10:59:24 +03:00
Dmitry Petrov ad9953724f Basic infrastructure for psi2ir tests with JS front-end 2018-10-18 10:59:24 +03:00
Mikhail Glukhikh 01091ba1aa Refactor getKotlinTypeWithPossibleSmartCastToFP and related parts 2018-10-18 10:27:19 +03:00
Georgy Bronnikov bbac1d802f JVM_IR. Support annotation classes with JvmField fields 2018-10-17 21:15:28 +03:00
Georgy Bronnikov 605afbae90 Move fields and init blocks of companions to their owners 2018-10-17 21:15:28 +03:00
Georgy Bronnikov 827494abbe JVM_IR. Mostly remove descriptors from ConstAndJvmFieldPropertiesLowering 2018-10-17 21:15:28 +03:00
Alexander Udalov 6e2e6794aa Remove unnecessary copy of ReflectionTypes
ReflectionTypes was copied from org.jetbrains.kotlin.builtins to
kotlin-native in
https://github.com/JetBrains/kotlin-native/commit/776f4c4b7, and then
was incorrectly copied back in 27365dc4be. This class is in fact only
needed in kotlin-native, where it was moved and simplified in
https://github.com/JetBrains/kotlin-native/commit/c3e921d53
2018-10-17 18:39:50 +02:00
Alexander Udalov e3a332c393 Configure Java module path when compiler is invoked in -Xbuild-file mode
#KT-27626 Fixed
2018-10-17 18:39:50 +02:00
Alexander Udalov 1a1b7938fb Fix deprecated API usage in RemappingClassBuilder
#KT-25058 Fixed
2018-10-17 18:39:50 +02:00