Ilya Gorbunov
e14ac2a062
Test kotlin-repeatable annotations on Android
...
(except for type-use annotations)
2022-06-04 10:39:37 +00:00
Ilya Gorbunov
8da8c94363
Workaround KTIJ-21808 "Kotlin not configured" in Kotlin project
...
by avoiding problematic source root during IDEA project import.
2022-06-04 10:35:24 +00:00
Alexander Udalov
1557ed9489
Remove unsupported argument from common-configuration
2022-06-04 00:52:17 +02:00
Yahor Berdnikau
cb448b0f76
Fix 'kotlin-compiler-embeddable' project does not publish required artifacts
...
Restore publishing javadocs and sources jars.
2022-06-03 17:21:20 +00:00
Roman Golyshev
bc853e45e8
[FIR IDE] Do more precise extraction of the dispatcher receiver
...
If the `candidateSymbol` is an extension, then it cannot be called with
an explicit dispatch receiver, because only the extension receiver
can be explicit in such case
Therefore, we consider `receiverExpression` to be a dispatch
receiver only if the `candidateSymbol` is not an extension
KTIJ-21910
2022-06-03 16:37:17 +00:00
Roman Golyshev
e92cd609fb
[FIR IDE] Correctly collect containing declarations in init { ... }
...
`init` is not a callable declaration, and is considered local, so you
cannot build a designation starting from it. In that we case we traverse
parents until we find the first non-local class, and use it as a
container
KTIJ-21910
2022-06-03 16:37:16 +00:00
Mikhail Glukhikh
0ee04d0825
FE10 analysis API: revert resolving 'this' references to receivers
...
FE10 IDE plugin relies on resolving 'this' references to class or callable
2022-06-03 16:25:44 +00:00
Pavel Kunyavskiy
707d2c42ad
[K/N] Fix version parsing in perfomance-server
2022-06-03 12:21:42 +00:00
Pavel Kunyavskiy
574562d9f9
[K/N] Refactor devirtualization graph build to avoid too deep recursion
...
^KT-52386
2022-06-03 09:03:40 +00:00
Yahor Berdnikau
72b7d8da6d
Drop gradleKotlinDsl dependency for KGP
...
This dependency brings gradleApi as a transitive dependency, which leads
to false-positive deprecation errors in plugin variants.
^KT-47047 In Progress
2022-06-03 08:29:58 +00:00
Yahor Berdnikau
d924c14df7
Add convenient extension methods to get variant implementation factory
...
^KT-47047 In Progress
2022-06-03 08:29:58 +00:00
Yahor Berdnikau
ebce1a1d2d
Fix warnings in gradle70 variant
...
This allowed to enable warning-as-errors for :k-g-p:gradle70 compilation
^KT-47047 In Progress
2022-06-03 08:29:57 +00:00
Yahor Berdnikau
1be8480aed
Suppress deprecations for MavenPluginConfiguratorG6
...
This allowed to enable warning-as-errors for :k-g-p:main compilation
^KT-47047 In Progress
2022-06-03 08:29:56 +00:00
Vladimir Sukharev
eabf6dac7f
Fix "kotlin.TypeCastException has no message on Native"
...
#KT-35544 Fixed
Merge-request: KT-MR-6392
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-06-03 07:40:26 +00:00
Mikhail Glukhikh
6fc27c22f4
K1:report warning on OptIn usages inside SAM constructor #KT-47708 Fixed
2022-06-02 15:36:58 +00:00
Mikhail Glukhikh
8fefa8a57b
Restore Experimentality data class for IDE compatibility
2022-06-02 15:36:58 +00:00
Mikhail Glukhikh
075605a371
Restore ExperimentalMarkerDeclarationAnnotationChecker for IDE
2022-06-02 15:36:57 +00:00
Mikhail Glukhikh
8baff4404d
Partial rename of 'Experimentality' around K1 checkers
2022-06-02 15:36:56 +00:00
Nikolay Lunyak
8d2868da32
[FIR JS] Regenerate tests
...
вфцвфдцьв
2022-06-02 13:47:34 +00:00
Nikolay Lunyak
62ec19bda2
[FIR JS] Fix current tests
2022-06-02 13:47:33 +00:00
Nikolay Lunyak
c2cecb2818
[FIR JS] Add the dynamic type unsupported checker
2022-06-02 13:47:33 +00:00
Nikolay Lunyak
624728e5c7
[FIR JS] Support dynamic type in IR
2022-06-02 13:47:32 +00:00
Nikolay Lunyak
6b94ba5804
[FIR2IR] Add the missing argument
2022-06-02 13:47:32 +00:00
Nikolay Lunyak
858999c1a1
[FIR] Preserve information about prefix/postfix-ness
...
This information is needed for dynamics
2022-06-02 13:47:31 +00:00
Nikolay Lunyak
93fa5ee696
[FIR] Add the missing source kind
2022-06-02 13:47:31 +00:00
Nikolay Lunyak
0bc34a9e5a
[FIR] Add some helper functions for dynamics
2022-06-02 13:47:31 +00:00
Nikolay Lunyak
da8a8a8988
[FIR JS] Add a Fir2IrJsText runner
2022-06-02 13:47:30 +00:00
Nikolay Lunyak
4038c06b1e
[FIR JS] Treat named arguments as positional for dynamics
...
Note: 174/1627 failing FirJsTest tests remaining
- 170 are multi-module tests
- 4 tests have to do with IR
2022-06-02 13:47:30 +00:00
Nikolay Lunyak
994e2970c7
[FIR JS] Suppress EQUALITY_NOT_APPLICABLE
2022-06-02 13:47:30 +00:00
Nikolay Lunyak
ee58b52a3d
[FIR] Fix false positive NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY
2022-06-02 13:47:29 +00:00
Nikolay Lunyak
a474acd927
[FIR JS] Fix NOT_YET_SUPPORTED_IN_INLINE
2022-06-02 13:47:29 +00:00
Nikolay Lunyak
ac1fb07102
[FIR JS] Add checkers.js
2022-06-02 13:47:28 +00:00
Nikolay Lunyak
1bf2f424a3
[FIR JS] Fix the plusAssign generation for dynamics
2022-06-02 13:47:28 +00:00
Nikolay Lunyak
9b87dcbeae
[FIR JS] Move FirInvalidAndDangerousCharactersChecker to checkers.jvm
...
This is a JVM-specific checker.
2022-06-02 13:47:28 +00:00
Nikolay Lunyak
0e549e3329
[FIR JS] Suppress INVISIBLE_REFERENCE
2022-06-02 13:47:27 +00:00
Nikolay Lunyak
91fa7dec88
[FIR JS] Fix false positive NON_ABSTRACT_FUNCTION_WITH_NO_BODY
2022-06-02 13:47:27 +00:00
Mikhail Glukhikh
eaa77b5af6
[FIR JS] Generate dynamic FIRs via DynamicScope
2022-06-02 13:47:26 +00:00
Nikolay Lunyak
5e97a36680
[FIR JS] Ignore tests with unsupported features
2022-06-02 13:47:26 +00:00
Nikolay Lunyak
c8ef427421
[FIR JS] Fix ConeDynamicType in asPsiType
2022-06-02 13:47:26 +00:00
Nikolay Lunyak
d7e8dc65f5
[FIR] Update smartcast tests
2022-06-02 13:47:25 +00:00
Nikolay Lunyak
611691ec70
[FIR JS] Support smart casts for dynamic
2022-06-02 13:47:25 +00:00
Nikolay Lunyak
bdc3b5fe6f
[FIR JS] Mute 170 failing multi-module tests
2022-06-02 13:47:24 +00:00
Nikolay Lunyak
ccc72e5125
[FIR JS] Add a FirJsTest runner
...
Note: 763/1627 failed tests
- 170 are multi-module tests which can be ignored for now
2022-06-02 13:47:24 +00:00
Nikolay Lunyak
9a9beef25b
[FIR JS] Prepare the infrastructure for FIR JS tests
2022-06-02 13:47:24 +00:00
Nikolay Lunyak
d2a8942353
[FIR] Extract FirJvmConstDeserializer
...
Attempts to separate JVM and non-JVM entities more clearly.
2022-06-02 13:47:23 +00:00
Nikolay Lunyak
be9e97d044
[FIR] Introduce ConeDynamicType
2022-06-02 13:47:23 +00:00
Nikolay Lunyak
e763197c3e
[FIR] Fix the use of local ClassIds
2022-06-02 13:47:22 +00:00
Ilmir Usmanov
f922684169
Minor. Add regression test
...
#KT-52561 Fixed
2022-06-02 13:26:24 +00:00
Yahor Berdnikau
4a7a0126f2
Decrease Kotlin daemon autoshutdown timeout to 30 sec
...
Daemon spawned via buildSrc compilation is incompatible with other
compilations in Kotlin repo, as they use custom compiler classpath.
To reduce memory consumption (especially on CI), idle autoshutdown
timeout was reduced from default 2 hours to 30 seconds.
2022-06-02 13:16:54 +00:00
Alexander Likhachev
e9a231e97e
[Gradle, JS] Reuse yarn resolution results from configuration cache
2022-06-02 10:41:14 +00:00