Commit Graph

63671 Commits

Author SHA1 Message Date
Toshiaki Kameyama 3263e85bee Introduce "Remove fun modifier" quick fix for FUN_INTERFACE_WRONG_COUNT_OF_ABSTRACT_MEMBERS error
#KT-37539 Fixed
2020-04-01 12:55:22 +03:00
Dmitriy Dolovov bfd6eeda60 Fix compilation with JPS 2020-04-01 16:42:04 +07:00
Toshiaki Kameyama e455e926aa Implement members: fix it works correctly if primary constructor has implemented member
#KT-37312 Fixed
2020-04-01 12:24:27 +03:00
Ilya Gorbunov 5eabc1117f Generate constant expression initializers for special fp values in kapt
Update new constant values propagated in kapt class-to-stub test
2020-04-01 08:06:57 +03:00
Ilya Gorbunov 427750ba03 Update builtins test data 2020-04-01 08:06:57 +03:00
Ilya Gorbunov f3fc1197ae Add SIZE_BITS and SIZE_BYTES constants to Double and Float
#KT-29182
2020-04-01 08:06:57 +03:00
Ilya Gorbunov 1c93911279 Make Double and Float known values constant
#KT-13887
2020-04-01 08:06:57 +03:00
Dmitry Gridin 435a7e7e26 i18n: fix name for LiftReturnOutFix
#KT-37483
#KT-37893 Fixed
2020-04-01 11:55:22 +07:00
Dmitriy Dolovov 5411b85cb9 Minor. Rename isKonanStdlib() into isNativeStdlib() 2020-04-01 11:47:10 +07:00
Dmitriy Dolovov e69b2ed47d Drop redundant dependencies on :native:kotlin-native-utils 2020-04-01 11:47:01 +07:00
Dmitriy Dolovov 31a1f8ff4b Include :native:kotlin-native-utils into kotlin-compiler.jar 2020-04-01 11:46:55 +07:00
Dmitriy Dolovov 28cb9d4e13 Gradle: Remove redundant dependency on 'kotlin-native-utils' artifact 2020-04-01 11:46:49 +07:00
Dmitriy Dolovov 5f5f219367 Keep KonanPlatformKt.isNative for backward compatibility 2020-04-01 11:46:43 +07:00
Ilya Gorbunov 10d5726a02 Update test data that depends on stdlib method docs 2020-04-01 02:55:30 +03:00
Toshiaki Kameyama 6eebe21897 Remove redundant backticks: fix false positive for multiple underscores
#KT-37496 Fixed
2020-04-01 00:46:22 +03:00
Toshiaki Kameyama 34cfe7dfdb "Add missing component" intention: fix it works correctly if entries is empty
#KT-36094 Fixed
2020-04-01 00:42:43 +03:00
Victor Turansky 0a215cafa7 README Update 'Gradle properties' link 2020-04-01 00:35:17 +03:00
Victor Turansky 136a64a0b7 README Kotlin DSL script for composite build 2020-04-01 00:31:07 +03:00
Toshiaki Kameyama e5b4b03314 RedundantLambdaArrowInspection: fix false positive when receiver is qualified expression
#KT-37502 Fixed
2020-03-31 20:36:24 +03:00
Ilya Kirillov 487e1ddddc Wizard: do not update path & artifactId value for invalid project name 2020-03-31 20:32:37 +03:00
Ilya Kirillov fef3ea573b Wizard: allow "-" char in artifactId/groupId & fix their error messages
#KT-37820 fixed
2020-03-31 20:32:37 +03:00
Mikhail Glukhikh 630adb34db [FIR] Don't provide receiver as value in delegated constructor call 2020-03-31 20:28:24 +03:00
Mikhail Glukhikh a377a6fccb [FIR2IR] Handle references to constructors separately 2020-03-31 20:27:40 +03:00
Mikhail Glukhikh 282509b0da [FIR2IR] Provide object receivers for callable references 2020-03-31 20:27:24 +03:00
Ilya Kirillov 51de319cc4 New J2K: fix IOOB exception on inference 2020-03-31 19:35:56 +03:00
Ilya Kirillov 98f2604df0 New J2K: introduce type alias symbol 2020-03-31 19:35:55 +03:00
Ilya Kirillov bc52281208 New J2K: convert Java method reference to Kotlin one on copy-pasting Java code
#KT-34965 fixed
2020-03-31 19:35:55 +03:00
Ilya Kirillov d6d843aaed New J2K: fix assignment target in ConvertGettersAndSettersToPropertyProcessing
#KT-36190 fixed
2020-03-31 19:35:55 +03:00
Ilya Kirillov b3e728f4fb New J2K: don't allow open modifier on top-level/private declarations 2020-03-31 19:35:55 +03:00
Ilya Kirillov 4d4aa88534 New J2K: handle spaces in array dimensions declaration
#KT-36891 fixed
2020-03-31 19:35:55 +03:00
Ilya Kirillov 353e884c8f New J2K: do not merge methods if there are vararg parameters present 2020-03-31 19:35:55 +03:00
Ilya Kirillov 4a450ab624 New J2K: do not use unicode symbol in bundle 2020-03-31 19:35:54 +03:00
Ilya Kirillov 78d2aaa021 New J2K: handle null Java type 2020-03-31 19:35:54 +03:00
Vladimir Dolzhenko 113561f5f5 Execute reloadDefinitionsBy on a pooled thread 2020-03-31 17:00:19 +02:00
Vladimir Dolzhenko 9f09e50a28 ApplicationUtils syntax improvements 2020-03-31 17:00:19 +02:00
pyos 23ea2446e0 IDEA: add a couple "navigate to inline function call site" tests 2020-03-31 16:06:57 +02:00
pyos 9d7db101e6 JVM: refactor SMAP stuff some more
Just trying to keep the entropy down.
2020-03-31 16:06:57 +02:00
pyos e98bdc6f8e JVM: preserve call site markers when inlining lambdas
and default functions into their own stubs.

Fixes #KT-35006
2020-03-31 16:06:57 +02:00
pyos 9d21800d8f JVM: fix SMAP range extension logic
If `mapLineNumber` was called in non-monotonic order, e.g. N then N+2
then N+1, the first two calls created a range that spans [N; N+2] but
the third call did not reuse it.
2020-03-31 16:06:57 +02:00
Ilya Gorbunov b4d7dfd02c Advance minimal Gradle version for .gradle.kts tests to 5.0
Kotlin compiler 1.2 bundled in Gradle 4.10 and lower cannot read
binaries produced by 1.4 compiler and thus cannot compile .gradle.kts
scripts that depend on  1.4 Kotlin gradle plugin artifacts.
2020-03-31 16:02:36 +03:00
Ilya Gorbunov bc5605dcdc Mute stepping test, KT-37879 2020-03-31 16:02:34 +03:00
Ilya Gorbunov 4a8dbcccee Advance bootstrap to 1.4.0-dev-5087
Temporary fix kotlin gradle plugin version in buildsrc at 1.4.0-dev-1818, otherwise it causes problems in main buildscripts, when compiled with -dev-5087 (KT-37235).
2020-03-31 16:02:32 +03:00
Ilya Gorbunov 6b11decf52 Enable option -Xno-optimized-callable-references in the whole project
A workaround to reduce dependency on the new stdlib version
of compiler parts used by gradle plugin.

#KT-37435
2020-03-31 16:02:29 +03:00
Mikhail Zarechenskiy 38a719cb22 [NI] Fix trace manipulations for builder inference and ::-expressions
For a class literal Type::class we are resolving Type as a constructor,
 getting all diagnostics (about missing arguments, for example) and then
 just not committing this trace with errors

 #KT-37626 Fixed
2020-03-31 15:50:58 +03:00
Natalia Selezneva 6213680604 Mute GradleKtsImportTest.testError for AS
^KT-37864
2020-03-31 15:38:16 +03:00
Ilya Goncharov ccf5a2b4ad [Gradle, JS] KT-36784 Add additional args for npm install
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:54 +03:00
Ilya Goncharov 14f0091c84 [Gradle, JS] KT-36784 Add tests on local npm dependencies in composite
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:54 +03:00
Ilya Goncharov 149d7fb33a [Gradle, JS] KT-36784 Fix requireing of node modules
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov f30875f79b [Gradle, JS] KT-36784 Move fromSrcPackageJson
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov 253b8587e4 [Gradle, JS] KT-36784 Composite build test
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00