- 11 3月, 2021 18 次提交
-
-
由 Dmitriy Novozhilov 提交于
-
由 Dmitriy Novozhilov 提交于
-
由 Dmitriy Novozhilov 提交于
- Add utilities to add new attribute to ConeAttributes - Get rid of FlexibleNullability attribute (it can be easily inferred for any flexible type at any moment) - Fix determining of EnhancedNullability attribute
-
由 Dmitriy Novozhilov 提交于
-
由 Dmitriy Novozhilov 提交于
-
由 Dmitriy Novozhilov 提交于
-
由 Dmitriy Novozhilov 提交于
-
由 Dmitriy Novozhilov 提交于
-
由 Vladimir Dolzhenko 提交于
Relates to #KTIJ-1760 Relates to #KT-45254
-
由 Dmitriy Novozhilov 提交于
-
由 Dmitriy Novozhilov 提交于
#KT-45243 Fixed
-
由 Mikhail Glukhikh 提交于
-
由 Dmitry Petrov 提交于
-
由 Dmitry Petrov 提交于
-
由 Dmitry Petrov 提交于
-
由 Alexander Udalov 提交于
#KT-42321 Fixed
-
由 Alexander Udalov 提交于
-
由 Igor Chevdar 提交于
Fixes IR_VALIDATION warning as a side effect
-
- 10 3月, 2021 22 次提交
-
-
由 Andrey Zinovyev 提交于
-
由 Alexander Udalov 提交于
Enclose file paths in raw strings. Otherwise in the string "C:\Users\...", "\U" was detected as an illegal escape which led to an error.
-
由 Roman Golyshev 提交于
There is a `gradle-api-impldep.jar` created by Gradle which contains our nullability annotations, but relocated in the `org.gradle.internal.impldep` package In the deserialization process we use a `HAS_ANNOTATIONS` flag, and if it is present on the declaration, we do not try to build annotations for it, even when they are actually present and even when they are relocated (see usages of Flags.HAS_ANNOTATIONS in org.jetbrains.kotlin.serialization.deserialization.MemberDeserializer) In the stubs builder we also use this HAS_ANNOTATIONS flag, but we did not use it for the value parameters. This commit fixes that - now, if the `org.jetbrains.annotations` packages are relocated, it should not cause `Stub Mismatch Error` for the value parameters Lets consider two possible cases: 1. If the value parameter has a user-defined annotation, it will be marked as having annotations (HAS_ANNOTATIONS == true), and both stubs and deserialized descriptors will have to use all available annotations (even a relocated ones) 2. If, for example, the value parameter is of non-nullable type, it will have a `@NotNull` annotation on it, but will be marked as having no annotations at all (HAS_ANNOTATIONS == false), since `NotNull` is considered as auxiliary by the compiler. Because of the flag, both stubs and descriptors will ignore all present annotations (even if they were relocated) In the both cases, the stubs and the descriptors will completely match ^KT-44756 Fixed See IDEA-262971 about fixing the Gradle jar and the details N.B. This does not fixes the cases when `kotlin.Metadata` and similar annotations are relocated (e.g. KT-25709)
-
由 Elena Lepilkina 提交于
-
由 Dmitriy Dolovov 提交于
-
由 Dmitriy Dolovov 提交于
-
由 Dmitriy Dolovov 提交于
To represent classifiers that are actually exported forward declarations
-
由 Dmitriy Dolovov 提交于
-
由 Ilya Gorbunov 提交于
Introduce Duration companion functions to convert numbers to Duration. Deprecate number extension properties and propose to use these new functions instead.
-
由 Ilya Gorbunov 提交于
So that the lambda can contain non-local control flow, such as suspend calls. Inline-only helps preserving line numbers in the failed assertion stack traces. KT-44717
-
由 Mikhael Bogdanov 提交于
-
由 Mikhael Bogdanov 提交于
-
由 Mikhael Bogdanov 提交于
-
由 Andrey Zinovyev 提交于
Fix failing on empty methods inline methods (after light generation) #KT-45032 Fixed
-
由 Dmitry Petrov 提交于
This reverts commit 679756ad
-
由 Vasily Levchenko 提交于
-
由 Vasily Levchenko 提交于
- in kotlin build this is project dependency - in performace build this is artifact dependency
-
由 Vasily Levchenko 提交于
[build][plugin] kotlin native benchmarking plugin adds dependency kotlinx.cli as project dependency
-
由 Vasily Levchenko 提交于
-
由 Vasily Levchenko 提交于
-
由 Vasily Levchenko 提交于
-
由 Sergey Bogolepov 提交于
We need to invoke `llvm-profdata` tool from the same toolchain as Clang (on macOS we use the one from Xcode). (cherry picked from commit 91665b36af68b7fb3a56c0e7ed7ebb7d819adfb2)
-