Ivan Kylchik
37f02390ec
[TESTS] Extract common backend directives into ConfigurationDirectives
2021-11-08 23:50:33 +03:00
Ivan Kylchik
108d6b63dd
[TESTS] Add abstraction at IrBackendInput to work with several backends
2021-11-08 23:50:33 +03:00
Ivan Kylchik
701a10d643
Split some functions of js compiler to be able to use them in tests
2021-11-08 23:50:33 +03:00
Jinseong Jeon
4eec381d1b
FIR IDE/LC: introduce/use KtTypeMappingMode
2021-11-08 20:12:17 +01:00
Jinseong Jeon
0da9ef873a
FIR LC: use optimal type mapping mode for return type
2021-11-08 20:12:17 +01:00
Jinseong Jeon
d3c34fa200
FIR LC: use optimal type mapping mode for value parameter
2021-11-08 20:12:17 +01:00
Jinseong Jeon
6d150fb7a5
FIR IDE: add APIs about FunctionClassKind
2021-11-08 20:12:17 +01:00
Jinseong Jeon
d029e84b96
FIR LC: use proper use-site target for accessor's JVM name
2021-11-08 20:12:16 +01:00
Jinseong Jeon
8989378b02
FIR/LC: fix syntax error in import alias test
2021-11-08 20:12:16 +01:00
Ilya Kirillov
348403b1f3
FIR: do not inherit external modifier from super declaration
2021-11-08 19:01:35 +01:00
Konstantin Tskhovrebov
d119976b46
Update K/N version to "1.6.20-dev-3759"
2021-11-08 16:57:22 +00:00
sebastian.sellmair
099a7525ab
[Gradle][MPP] Improve error message for missing metadata extractor
...
^KT-46198
2021-11-08 16:43:54 +00:00
sebastian.sellmair
e73273b139
[Gradle][MPP] Refine zipUtils.kt & implement ZipUtilsTest.kt
...
^KT-46198
2021-11-08 16:43:54 +00:00
sebastian.sellmair
dea434b6d5
[Gradle][MPP] CompositeMetadataJar: Support omitted directory entries
...
^KT-46198
2021-11-08 16:43:54 +00:00
sebastian.sellmair
05364fa958
[Gradle][MPP] Implement CompositeMetadataJarTest
...
^KT-46198
2021-11-08 16:43:53 +00:00
sebastian.sellmair
911110188e
[Gradle][MPP] Adjust CommonizerHierarchicalIT for published cinteorp metadata
...
^KT-46198
2021-11-08 16:43:53 +00:00
sebastian.sellmair
5f125006f7
[Gradle][MPP] MppCInteropDependencyTransformationIT
...
^KT-46198
2021-11-08 16:43:52 +00:00
sebastian.sellmair
86296a8ced
[Gradle][MPP] Implement cinterop metadata dependency transformation
...
^KT-46198 Verification Pending
2021-11-08 16:43:52 +00:00
sebastian.sellmair
9e1fd37685
[Gradle][MPP] Include commonized cinterops in host specific metadata artifacts
...
^KT-46198
2021-11-08 16:43:51 +00:00
sebastian.sellmair
2dda5f6ed2
[Gradle][MPP] Bundle cinterop metadata in allMetadata klib
...
^KT-46198
2021-11-08 16:43:51 +00:00
sebastian.sellmair
94c68c99a0
[Gradle] Minor: KotlinNativeTargetConfigurator: Replace deprecated destinationDir
...
^KT-46198
2021-11-08 16:43:50 +00:00
sebastian.sellmair
aee2894fa6
[Gradle] Minor: KotlinToolRunner: Replace deprecated 'setMain'
...
^KT-46198
2021-11-08 16:43:50 +00:00
sebastian.sellmair
78b168711c
[Gradle] Minor: KotlinPlugin: Replace deprecated destinationDir
...
^KT-46198
2021-11-08 16:43:49 +00:00
sebastian.sellmair
5902e3d0fd
[Gradle] Minor: Improve readability of GranularMetadataTransformation.kt
...
^KT-46198
2021-11-08 16:43:49 +00:00
sebastian.sellmair
df7ab52505
[Gradle] Minor: Demote visibility of '.commonizeCInteropLibraries'
...
^KT-46198
2021-11-08 16:43:48 +00:00
sebastian.sellmair
afa320a7b2
[Gradle] Minor: Move locateOrRegisterTask from CommonizerTasks.kt to TaskProviders.kt
...
^KT-46198
2021-11-08 16:43:48 +00:00
sebastian.sellmair
3bd36770cb
[Gradle] Minor: Add return type for ModuleIds.fromDependency
...
^KT-46198
2021-11-08 16:43:48 +00:00
sebastian.sellmair
7c77ff83a7
[Gradle] Minor: Project.filesProvider add possibility to specify buildDependencies
...
^KT-46198
2021-11-08 16:43:47 +00:00
sebastian.sellmair
33e391583d
[Gradle] Minor: Refactor AbstractCInteropCommonizerTask to extensions
...
^KT-46198
2021-11-08 16:43:47 +00:00
Michael Rittmeister
21a1582a83
Fix ExplicitApiMode.Disabled
2021-11-08 18:57:39 +03:00
Ilya Goncharov
c464cabd44
[Gradle, JS] Use yarn.lock name by default
2021-11-08 17:54:15 +03:00
konstantin.tskhovrebov
d9f5ef2f91
Add dSYMs to release XCFramework.
...
#KT-49484
2021-11-08 10:01:35 +00:00
Ilya Matveev
8ff1d66ec9
[K/N][build] Fix up-do-date checks for cache tasks
...
A name of a cache directory produced by the compiler for a library is
based on the unique name of this library. The cache task, when
declaring its outputs, assumes that this unique name is equal to the
name of the library file/directory. If this is not the case, the
up-to-date check works inconsistently and Gradle doesn't rerun
the task.
This patch fixes this issue by obtaining the real unique name of
the library.
2021-11-08 11:51:42 +07:00
Dmitry Gridin
5ecd2aa191
[psi] KtNamedDeclarationStub: fix useScope for private class
...
The `return` was missed, so the private class did not optimize scope
^KTIJ-20069
2021-11-08 02:30:54 +00:00
Ilya Kirillov
711b882e71
Analysis API: get rid of KtImportingScope as public API
2021-11-05 15:47:49 +01:00
Ilya Kirillov
d9fcea9451
Analysis API: simplify fir scope hierarchy
2021-11-05 15:46:10 +01:00
Ilya Kirillov
6453f2bdbf
Analysis API: simplify scope hierarchy
2021-11-05 15:46:09 +01:00
Ilya Kirillov
0dca176e28
FIR LC: make fir LC utils internal
2021-11-05 15:46:09 +01:00
Ilya Kirillov
dd9a96a12f
FIR LC: fix light facade caching
2021-11-05 15:46:07 +01:00
Yaroslav.Chernyshev
347cb43fca
Fix Cooperative development for kt-212-master
2021-11-05 16:13:50 +03:00
Tianyu Geng
f217bb94de
Use more consistent names for inheritors of BooleanIsMissing
2021-11-04 23:04:35 +01:00
Tianyu Geng
2c2851af6e
Analysis API: add test covering get missing when branches
...
Also fix FIR implementation to generate boolean branches in the same
order as FE1.0.
2021-11-04 23:04:35 +01:00
Tianyu Geng
8ba2e4d221
FIR: move JavaAnnotationMapper.javaToKotlinNameMap to common
...
so that FIR IDE logic can reference it
2021-11-04 20:52:50 +01:00
Nikolay Lunyak
4a3a621196
[FIR] Add isVisible check to resolveRootPartOfQualifier
2021-11-04 15:52:11 +00:00
Tianyu Geng
ae50d52131
FIR IDE: add validity token to data classes related to smartcast API
...
Also move KtImplicitReceiverSmartCast closer to where it's used.
2021-11-04 16:00:38 +01:00
Tianyu Geng
7de0937031
FIR IDE: get unstable smartcast from FE1.0-based analysis API
...
Note that the current FE1.0 implementation still has some limitations
1. only references used as receiver are being considered for smartcast.
2. Somehow the smartcast information is not retained if the for generic
typed receivers. See multiSmartcastAsReceiver_stable.descriptors.txt
2021-11-04 16:00:37 +01:00
Tianyu Geng
197079c85c
FIR IDE: make smartcast API return unstable smartcasts
2021-11-04 16:00:37 +01:00
Ilya Kirillov
6462642988
Analysis API: fix type rendering for ConeDefinitelyNotNullType
2021-11-04 12:05:05 +01:00
Ilya Kirillov
da88ddfc71
FIR IDE: always approximate non-denotable types for creating PsiType
2021-11-04 12:05:04 +01:00
Ilya Kirillov
bec9cec31c
LL API: correctly resolve FirSyntheticPropertyAccessor
2021-11-04 12:05:04 +01:00