Mikhail Glukhikh
98d34b40ab
FIR: set substituteTypes value explicitly in calls inside providers
2021-10-20 12:17:04 +03:00
Mikhail Glukhikh
3483bc41fd
FIR: set substituteTypes value explicitly in some lookupSupertypes calls
2021-10-20 12:17:04 +03:00
Mikhail Glukhikh
7fc19520a5
FIR: substitute super type during tower building properly #KT-49301 Fixed
2021-10-20 12:17:04 +03:00
Mikhail Glukhikh
b76e61cbc5
FIR: set dispatch receiver type to constructor in deserialization
2021-10-20 12:17:03 +03:00
Yan Zhulanow
adf174809e
Add Parcelize runtime library to set of artifacts published as IDE components
...
The missing artifact is needed in order to solve KTIJ-19900.
2021-10-19 19:55:09 +03:00
Yan Zhulanow
20b73499f5
Pill: Add Analysis API test generator to the "Generate all tests" run configuration
2021-10-19 19:55:09 +03:00
Yan Zhulanow
cb74247f8f
Pill: Update options passed in test configurations
2021-10-19 19:55:08 +03:00
Yan Zhulanow
1f2508c177
Pill: recognize 'protobufCompare' as a test module
2021-10-19 19:55:07 +03:00
Yan Zhulanow
f1fa17f896
Pill: Better support for compiler arguments in generated facets
2021-10-19 19:55:07 +03:00
Yan Zhulanow
6cd25984ca
Pill: Always map kotlin-reflect-api to the kotlin-reflect.jar artifact
2021-10-19 19:55:06 +03:00
Yan Zhulanow
46b94a4757
Pill: Include certain modules into the BASE variant
2021-10-19 19:55:06 +03:00
Yan Zhulanow
17120bf258
Pill: Fix Kotlin facet creation
2021-10-19 19:55:05 +03:00
Yan Zhulanow
099a44283f
Pill: Disable Kotlin IDE plugin artifact building if not in cooperative mode
2021-10-19 19:55:05 +03:00
Yan Zhulanow
5627bbb535
Pill: Remove IDEA Ultimate run configuration
2021-10-19 19:55:04 +03:00
Yan Zhulanow
66005d9c3b
Pill: Remove Android Studio support
2021-10-19 19:55:03 +03:00
Pavel Kunyavskiy
172373c57e
[K/N] Add tests for flexible arrays in interop
...
^KT-48074
2021-10-19 13:45:00 +00:00
Ilya Gorbunov
0487261be8
Duration: postpone raising deprecation to error for top-level extension properties
...
#KT-46229
2021-10-19 09:29:16 +00:00
Mikhail Glukhikh
29e4c299e7
FIR: add & use hasExplicitParameterList to anonymous functions
...
#KT-49134 Fixed
2021-10-19 11:58:23 +03:00
Viacheslav Kormushkin
9307757bb4
[Gradle][Cocoapods] Error messages for the case of invalid pod repo
...
#KT-42202
Merge-request: KT-MR-4790
2021-10-19 08:15:38 +00:00
Ilya Matveev
8466f26093
[K/N][Runtime] Add \x01_munmap to the CallsChecker's excludes
2021-10-19 05:05:18 +00:00
Nikolay Krasko
3ffc8c4a82
Remove publication of kotlin-test-wasm (KTI-669)
2021-10-19 02:13:28 +03:00
Nikolay Krasko
337b55e806
Minor: remove commented code from kotlin.kotlin-test.wasm/build.gradle.kts
2021-10-19 02:13:27 +03:00
Vladimir Dolzhenko
714773fdf8
Add DiagnosticSink.setCallbackIfNotSet and deprecate DiagnosticSink.setCallback
...
#EA-258953 Fixed
2021-10-18 21:38:48 +03:00
Ilmir Usmanov
3f8fa3149b
Support extensions in functional supertypes
...
Under a flag for now.
2021-10-18 18:53:26 +03:00
Roman Golyshev
10101dc2b4
Add more accurate docs to the ResolvedCall
2021-10-18 17:03:09 +03:00
Sergej Jaskiewicz
9e5520bba8
[JS IR & WASM] Fix executing init blocks for enums with nested objects
2021-10-18 13:37:16 +00:00
Mikhail Zarechenskiy
8e0e2fe52c
Increase stub versions for the major version 1.6.0
...
^KT-49190 Fixed
2021-10-18 14:48:35 +03:00
Ilya Matveev
3925b05274
[K/N][Runtime] Add more tests for thread state guards
2021-10-18 11:32:17 +00:00
Ilya Matveev
ca7ae0d539
[K/N][Runtime] Use std::atomic_flag in SpinLock
2021-10-18 11:32:16 +00:00
Ilya Matveev
a619b78954
[K/N][Runtime] Call yield in SpinLock's loop
2021-10-18 11:32:16 +00:00
Ilya Matveev
629ea1036e
[K/N][Runtime] Support thread state switching in spin locks
...
Issue #KT-49013 Fixed
2021-10-18 11:32:16 +00:00
Dmitriy Novozhilov
bee44c6e0f
[FIR] Split :compiler:fir:resolve module into three different modules
...
Those modules are:
- :compiler:fir:providers, which contains Fir and Symbol providers,
scopes, and different utilities used by them
- :compiler:fir:semantics, which contains different abstractions and
entities which are used in resolution and in checkers
- :compiler:fir:resolve, which contains all stuff related to resolution
and inference
There are two pros of this change:
1. It may increase gradle build, because it allows to compile :fir:resolve
and :fir:checkers modules in parallel
2. Logic of working FIR (scopes, providers, DFA logic system, etc) is
now separated from logic of resolution phases, so for example checkers,
which are depend on scopes physically will not be able to run resolve
in any way
2021-10-18 11:10:47 +03:00
Dmitriy Novozhilov
6995ee9334
[FIR] Move type context and type approximator to separate session compontent
...
This is needed to decouple components which are related to type system
from type inference components
2021-10-18 11:10:47 +03:00
Dmitriy Novozhilov
eadb91f9b2
[FIR] Move accessors to main session components close to declarations of those components
2021-10-18 10:55:39 +03:00
Sergey Bogolepov
8d2234b37a
Add a test for KT-49212
2021-10-18 07:19:11 +00:00
Sergey Bogolepov
2230aed4e2
Fix KT-49212
2021-10-18 07:19:10 +00:00
Tianyu Geng
825be3588a
FIR IDE: tolerate KtFirBackingFieldSymbol when getting overridden symbols
2021-10-18 08:29:22 +02:00
Abduqodiri Qurbonzoda
a3755a8e94
@UseExperimental -> @OptIn in compiler testData
2021-10-17 21:14:37 +00:00
Abduqodiri Qurbonzoda
f0a75e7843
Advance deprecation level of Experimental and UseExperimental annotations to ERROR
2021-10-17 21:14:36 +00:00
Ilya Kirillov
6b453963ef
Analysis API: fix test compilation
2021-10-16 14:49:42 +02:00
Tianyu Geng
ba359fb296
FIR IDE: render captured type
2021-10-16 14:16:26 +02:00
Tianyu Geng
8b44a4685f
FIR IDE: add API to get super types of a KtType
2021-10-16 14:16:25 +02:00
Tianyu Geng
09d16ce849
FIR: minor refactoring TypeUtils
2021-10-16 14:16:25 +02:00
Tianyu Geng
39939c7213
FIR IDE: add helper checking if a type is flexbily nullable
2021-10-16 14:16:24 +02:00
Tianyu Geng
68e70769c8
FIR IDE: return error type for expressions if needed
...
It seems unnatural to filter out error types, given that KtType does
have a way to represent unresolved types.
2021-10-16 14:16:24 +02:00
Tianyu Geng
80b3e2eb69
FIR IDE: move helpers for HasCommonSubtypeTestGenerated
2021-10-16 14:16:23 +02:00
Jinseong Jeon
26673d2b08
FIR IDE: find source of deserialized enum entry
2021-10-15 19:45:05 +00:00
Jinseong Jeon
8023e7fb02
FIR IDE: add a test for resolution of @Retention value
2021-10-15 19:45:04 +00:00
Anton Bannykh
283e37c741
[JS IR] fix warnings
2021-10-15 20:14:54 +03:00
Anton Bannykh
c2f7ed2fff
[JS IR] added a directive to skip IC checks in IR
2021-10-15 20:14:53 +03:00