Dmitriy Novozhilov
f26059a7d3
[FE] Add clear warning about future changes about nullability of safe call with non nullable receiver
...
^KT-46860
2021-10-27 16:28:37 +03:00
Pavel Kunyavskiy
937f4c1dab
[K/N] Separate sweep pass for extra-objects
...
^KT-49325
2021-10-27 12:11:17 +00:00
Pavel Kunyavskiy
ae64af09fb
[K/N] Add ability to get base object from extra data
...
^KT-49325
2021-10-27 12:11:16 +00:00
Pavel Kunyavskiy
da3e31cd3a
[K/N] Rework allocating of ExtraObjectData objects.
...
^KT-49325
2021-10-27 12:11:16 +00:00
Pavel Kunyavskiy
495a10dd7f
[K/N] Add test failing with asan
...
^KT-49325
2021-10-27 12:11:15 +00:00
Elena Lepilkina
453e4b1830
[K/N] Added FileCheck tests on bound check elimination
2021-10-27 12:02:06 +00:00
Nikolay Lunyak
2620647b03
[FIR] KT-46968: Remove FirCompositeScope-s from the type resolution
2021-10-27 09:35:10 +00:00
Mikhail Glukhikh
b0ec3cb831
Switch off FIR version off REDUNDANT_LABEL_WARNING (performance-related)
...
This reverts commit 363b2550 (partially)
2021-10-27 12:26:59 +03:00
Nikolay Krasko
36c4938172
Add version to kotlin-reflect-stripped jar
2021-10-27 11:04:41 +03:00
Nikolay Krasko
d348efa4c1
Do not pack proguard and stripped jars for kotlin-reflect into compiler zip
...
kotlin-reflect-proguard.jar has different timestamps and shows
difference on each build for the same sources.
The problem was introduced after migrating to Gradle 7.1 where
`libsDir` parameter was removed (https://docs.gradle.org/current/userguide/upgrading_version_6.html#removal_of_basepluginconvention_libsdir_and_basepluginconvention_distsdir ).
After that the same variable started to be resolved to `dist` directory.
So this commit reverts the old behaviour.
^KTI-672 Fixed
2021-10-27 11:04:40 +03:00
Victor Petukhov
37b5f01a5a
Fix test after abe607f4ea
2021-10-27 10:57:55 +03:00
Dmitry Petrov
e76cf8550e
JVM_IR add test for KT-49411
2021-10-27 09:47:56 +03:00
Alexander Likhachev
56cf2549e7
[JS] Close file descriptors after embedding sources into source map
...
#KT-49300 Fixed
2021-10-26 20:21:15 +03:00
Alexander Likhachev
2f19ff008f
[Gradle] Migrate Kotlin/JS tests to the new test DSL
...
#KT-45745 In Progress
2021-10-26 20:21:15 +03:00
Victor Petukhov
34fb61fb3e
Postpone promoting warnings to errors for ProperTypeInferenceConstraintsProcessing
...
^KT-49322 Fixed
2021-10-26 19:38:00 +03:00
Victor Petukhov
64c682f465
Remove constraints containing stub types after completion of the common system of a builder inference call
...
^KT-49285 Fixed
2021-10-26 19:37:59 +03:00
Victor Petukhov
012f1f6013
Introduce a compiler X flag to enable enhancing not null annotated type parameter's types to definitely not null types
2021-10-26 19:37:59 +03:00
Victor Petukhov
abe607f4ea
Add test for KT-49209
2021-10-26 19:37:58 +03:00
Victor Petukhov
e0a4704c21
Revert "Make freshly substituted type variables def not nullable if they come from not null type parameter"
...
This reverts commit 41936a790b37bef45d7e7dad851856ea1750ef01.
2021-10-26 19:37:58 +03:00
Victor Petukhov
2261928f4f
Process simple CapturedType in ClassicTypeSystemContext.typeConstructorProjection as well
...
^KT-49101 Fixed
2021-10-26 19:37:58 +03:00
Victor Petukhov
836c6b280d
Make freshly substituted type variables def not nullable if they come from not null type parameter
...
^KT-48778 Fixed
2021-10-26 19:37:57 +03:00
Victor Petukhov
02d06b6390
Transform VisibilityError diagnostic for callable references to further report it on the corresponding argument of a base call
...
^KT-46437 Fixed
2021-10-26 19:37:57 +03:00
Victor Petukhov
e34b2d1850
Have common KotlinCallArgument for CompatibilityWarningOnArgument
2021-10-26 19:37:56 +03:00
Victor Petukhov
d50eba62bd
Propagate inference session from local context into property resolvers
...
^KT-48633 Fixed
2021-10-26 19:37:56 +03:00
Victor Petukhov
43e9c1223a
Take into account possible passed old captured type in isCapturedTypeFromSubtyping check
...
^KT-48590 Fixed
2021-10-26 19:37:55 +03:00
Victor Petukhov
d015d3bc0e
Don't enhance previously erased value parameters for jspecify strict mode
...
^KT-48261 Fixed
2021-10-26 19:37:55 +03:00
Starlight220
e77f72071d
migrate KmValueParameter.type (KmType? -> lateinit KmType)
2021-10-26 18:21:38 +02:00
Denis.Zharkov
5690a9f21b
FIR: Fix overridability of Kotlin vararg from Java
2021-10-26 18:45:59 +03:00
Denis.Zharkov
4b1ce6c1a7
FIR: Fix safe call receiver nullability after null check
2021-10-26 18:45:59 +03:00
Denis.Zharkov
2a8eacd4ba
FIR2IR: Fix exception when local class used before declaration
2021-10-26 18:45:59 +03:00
Denis.Zharkov
0bdea4f20a
FIR: Do not create incorrect synthetic property
2021-10-26 18:45:59 +03:00
Denis.Zharkov
52c2908bb7
FIR: Fix another inconsistency with FE1.0 in synthetic properties resolution
2021-10-26 18:45:59 +03:00
Denis.Zharkov
fe1b4d61c2
Move some property convention helpers to compiler.common.jvm
...
Since it will be used in FIR, too
2021-10-26 18:45:58 +03:00
Denis.Zharkov
16e8e0e58b
FIR: Add test on raw type scope
...
^KT-49351 Related
2021-10-26 18:45:58 +03:00
Denis.Zharkov
507422d3d8
FIR: Fix bare type case with flexible supertypes
2021-10-26 18:45:58 +03:00
Denis.Zharkov
94129dce2e
FIR: Add a test with current behavior on upper bounds with raw types
...
^KT-49345 Related
2021-10-26 18:45:58 +03:00
Denis.Zharkov
35a7f0f73e
Minor cleanup
2021-10-26 18:45:58 +03:00
Ilya Gorbunov
4e6243c4f7
Restore useIR Gradle option as HIDDEN (KT-45504)
...
This will allow to KEEP binary compatibility with
the Compose plugin 1.0.1 for a bit longer
Merge-request: KT-MR-4857
2021-10-26 15:37:31 +00:00
Steven Schäfer
05da65654e
Parcelize: Enable warnings in tests
2021-10-26 17:06:18 +02:00
Steven Schäfer
ca74b7becc
AsmLikeInstructionListingTest: Handle remaining instructions
...
Adds argument printing for TypeInsnNode, IincInsnNode,
MultiANewArrayInsnNode, InvokeDynamicInsnNode,
TableSwitchInsnNode, and LookupSwitchInsnNode.
2021-10-26 16:50:12 +02:00
Ilmir Usmanov
7ec9d608cc
Use original instead of lowered suspend function
...
as a key to view. Otherwise, SAM conversions will break.
#KT-49294 Fixed
2021-10-26 14:14:12 +00:00
Roman Golyshev
8e911b1e98
[FIR IDE] Add fast path to isImplicitFunctionCall and improve its kdoc
2021-10-26 16:48:00 +03:00
Pavel Kunyavskiy
4b49356a56
[K/N] Remove some descriptor usages from lowerings
2021-10-26 13:26:04 +00:00
Pavel Kunyavskiy
55ac3e78d2
[K/N] Remove some descriptor usages from Ir.kt
2021-10-26 13:26:03 +00:00
Jinseong Jeon
d8df177b83
FIR LC: fix return type of suspend function
2021-10-26 14:12:29 +02:00
Jinseong Jeon
5ed9cac0cc
FIR LC: populate continuation parameter for suspend function
2021-10-26 14:12:28 +02:00
Yahor Berdnikau
98791000bf
Add @GradleWithJdkTest annotation.
...
Adding this annotation to the test will provide requested JDKs + Gradle
versions matrix as test parameter.
It is also possible to filter out supported by Gradle version JDKs.
^KT-45745 In Progress
2021-10-26 11:50:18 +00:00
Yahor Berdnikau
ca3e1b18dc
Add all supported Gradle versions.
...
^KT-45745 In Progress
2021-10-26 11:50:17 +00:00
Mikhail Glukhikh
37b95972db
Uncomment warning about -Xopt-in deprecation
2021-10-26 13:38:40 +03:00
Mikhail Glukhikh
1fe7a1ebb3
Add FIR test for KT-35565
2021-10-26 13:38:35 +03:00