Georgy Bronnikov
78fc690f29
IR: make IrLocaldelegatedProperty.type mutable
2020-09-22 23:53:39 +03:00
Georgy Bronnikov
09a906cc9a
IR: make IrTypeOperatorCall.typeOperand mutable
2020-09-22 23:53:39 +03:00
Georgy Bronnikov
d9681e535d
IR: make IrField.type mutable
2020-09-22 23:53:39 +03:00
Georgy Bronnikov
5065b1a4c6
Make IrValueDeclaration.type mutable
2020-09-22 23:53:38 +03:00
Georgy Bronnikov
1f37795e08
IR: make IrExpression.type mutable
2020-09-22 23:53:38 +03:00
Alexander Udalov
fde7fc6951
JVM IR: use correct file for final test output check in debugger tests
...
Before this change, a test with incorrect .ir.out could pass if the test
execution result was equivalent to the main .out file, which was a bit
confusing.
2020-09-22 19:15:35 +02:00
Mads Ager
78483930bc
[JVM_IR] Fix offsets in constant propagation optimization.
...
Loads of temporary variables that contain constants are replaced
with a copy of the constant. This avoids locals loads and stores.
However, the copy of the constant needs to have the offset of
the load and not of the original constant.
Fixes KT-41963.
2020-09-22 19:12:06 +02:00
Alexander Udalov
f273edeb8e
Build: upgrade language to 1.3 in cli, compiler plugins and Gradle plugin
...
The language/API version restriction here is to make sure the code works
with Gradle of earlier versions, but all versions of Gradle that we
support already depend on Kotlin 1.3+.
2020-09-22 19:10:58 +02:00
Alexander Udalov
5755c32c84
Minor, fix appendln deprecation warnings in cli
...
Can't use appendLine yet because this module is compiled with API
version 1.3.
2020-09-22 19:10:58 +02:00
Toshiaki Kameyama
f20a6b7fe1
Change function signature: add/change receiver type
...
#KT-21799 Fixed
2020-09-22 18:07:24 +02:00
Mads Ager
9f3ce099ee
[JVM_IR] Fix line numbers for function reference invoke methods.
2020-09-22 16:59:46 +02:00
Ilya Goncharov
16b2379cd7
[Gradle, JS] Use new npm versions
2020-09-22 16:57:21 +03:00
Ilya Goncharov
9f9cb4f57e
[Gradle, JS] Parallelize requests
2020-09-22 16:57:21 +03:00
Ilya Goncharov
a86dd8b5ba
[Gradle, JS] Refactor with coroutines
2020-09-22 16:57:21 +03:00
Ilya Goncharov
4986e8c9cc
[Gradle, JS] Fetch NPM package versions in separate module
2020-09-22 16:57:21 +03:00
Ilya Goncharov
db90c9cc88
[Gradle, JS] Move from NpmVersions
2020-09-22 16:57:21 +03:00
Pavel Punegov
e85e87620c
Fix to KonanIrlinker usage: adds TranslationContext
...
(cherry picked from commit dc32426a6fda9f79a617e21790b4fb69693afec0)
2020-09-22 15:50:23 +02:00
Vasily Levchenko
fc4602ddc8
[Plugin API] adoption a095909d5c
2020-09-22 15:50:23 +02:00
Vasily Levchenko
07baaab9fb
[kotlin compiler][update] 1.4.30-dev-374
...
* 769c741d87 - (tag: build-1.4.30-dev-374, origin/rr/yunir/KTI-277) Revert "Pack jvm builtins into kotlin-stdlib shipped with idea plugin" (vor 3 Tagen) <Dmitry Savvinov>
* 6db70bb97d - (tag: build-1.4.30-dev-370) Minor: fix forgotten testdata after 6a55475392 (vor 3 Tagen) <Dmitry Savvinov>
* 0b5aedb0a2 - (tag: build-1.4.30-dev-367) Pack jvm builtins into kotlin-stdlib shipped with idea plugin (vor 3 Tagen) <Ilya Gorbunov>
* f2cf64aec7 - (tag: build-1.4.30-dev-365) Create plugin context before launching actual psi2ir process. (vor 3 Tagen) <Leonid Startsev>
* ee3ada4e55 - (tag: build-1.4.30-dev-364) JVM_IR KT-40304 KT-41998 special handling for 'removeAt' (vor 3 Tagen) <Dmitry Petrov>
* 9008944860 - (tag: build-1.4.30-dev-361, tag: build-1.4.30-dev-359) Use target of the test in rerun dialog (vor 3 Tagen) <Kirill Shmakov>
* b406022315 - (tag: build-1.4.30-dev-357, tag: build-1.4.30-dev-344) Mark Unit unspillable if it is merged with unspillable Unit (vor 4 Tagen) <Ilmir Usmanov>
* f6e4705d9c - (tag: build-1.4.30-dev-342) Regenerate KotlinSteppingTestGenerated (vor 4 Tagen) <Alexander Udalov>
* a62ffbf992 - (tag: build-1.4.30-dev-341) [JVM_IR] Ignore fwBackingField stepping test. (vor 4 Tagen) <Mads Ager>
* 8343ca093c - (tag: build-1.4.30-dev-338, origin/rr/gogabr/remove-descriptors3) IR: bugfix in wrapped, IR-based descriptors (vor 4 Tagen) <Georgy Bronnikov>
* c2bdedfbae - JVM_IR: remove descriptor usage from JvmSignatureClashDetector (vor 4 Tagen) <Georgy Bronnikov>
* c7f10c272a - JVM_IR: remove .toKotlinType() from PromisedValue (vor 4 Tagen) <Georgy Bronnikov>
* 7c5e255fa3 - JVM_IR: remove .toKotlinType() from IrInlineIntrinsicsSupport (vor 4 Tagen) <Georgy Bronnikov>
* 991a832d8c - JVM_IR: remove KotlinType reference from jvm/ir/IrUtils.kt (vor 4 Tagen) <Georgy Bronnikov>
* 3c0fbd5f45 - IR: remove .toKotlinType() usage from coerceToUnit calls in lowerings (vor 4 Tagen) <Georgy Bronnikov>
* 6a55475392 - (tag: build-1.4.30-dev-329) Dont show warning for KT-21515 with LV>=1.3 (vor 4 Tagen) <Dmitry Savvinov>
* 57ceb0fa20 - (tag: build-1.4.30-dev-324) [FIR] Don't create call to this in generated provideDelegate for top-level extension properies (vor 4 Tagen) <Dmitriy Novozhilov>
* a666eee67b - [FIR] Properly deserialize annotations on typealias and underlying type (vor 4 Tagen) <Dmitriy Novozhilov>
* 748049daa3 - [FIR] Don't call inline lambda twice in `withFullBodyResolve` (vor 4 Tagen) <Dmitriy Novozhilov>
* f9de2621b2 - [FIR] Minor, fix TODO in `constantValues` (vor 4 Tagen) <Dmitriy Novozhilov>
* 535de7bdc8 - [FIR] Cleanup code of FirTypeDeserializer.kt (vor 4 Tagen) <Dmitriy Novozhilov>
* 8deab3559e - [FIR] Get rid of FirDeserializationComponents (vor 4 Tagen) <Dmitriy Novozhilov>
* d4cc98fab1 - [FIR] Safe VersionRequirementTable in deserialized declarations (vor 4 Tagen) <Dmitriy Novozhilov>
* 7c5160a968 - [FIR] Remove meaningless TODO's (vor 4 Tagen) <Dmitriy Novozhilov>
* 73c8059884 - [FIR] Properly deserialize arrays in annotation arguments (vor 4 Tagen) <Dmitriy Novozhilov>
* ae819ff059 - [FIR] Add configurable typeRef to FirArrayOfCallBuilder (vor 4 Tagen) <Dmitriy Novozhilov>
* d4891cb464 - [FIR] Move Jsr305State from FirSession to separate component (vor 4 Tagen) <Dmitriy Novozhilov>
* 93d63f7c66 - [FIR] Get rid of FirResolvedFunctionTypeRef (vor 4 Tagen) <Dmitriy Novozhilov>
* edab50ac61 - [FIR] Get rid of FirResolvedTypeRef.isSuspend (vor 4 Tagen) <Dmitriy Novozhilov>
* 6c5cf8eda3 - [FIR] Cleanup code in body resolve (vor 4 Tagen) <Dmitriy Novozhilov>
* d4038f35b6 - [FIR] Make BodyResolveComponents an abstract class (vor 4 Tagen) <Dmitriy Novozhilov>
* dfd7f33bd3 - Minor. Add test with reified type parameter (vor 4 Tagen) <Ilmir Usmanov>
* 9ecf5dc9af - Support is/as operations on suspend callable reference conversion (vor 4 Tagen) <Ilmir Usmanov>
* dfe6c42f63 - (tag: build-1.4.30-dev-309) Remove 203 version from idea range for kotlin plugin 1.4.20 (vor 4 Tagen) <Vladimir Dolzhenko>
* 985f2b839c - (tag: build-1.4.30-dev-308) Add regression tests to cover Unused symbol with private anonymous object property (vor 4 Tagen) <Vladimir Dolzhenko>
* d1ba69044e - (tag: build-1.4.30-dev-305) FIR: update the type of anonymous function as SAM (vor 4 Tagen) <Jinseong Jeon>
* f960201f52 - (tag: build-1.4.30-dev-302) Ignore type parameters of inline class (vor 4 Tagen) <Ilmir Usmanov>
* fbfe56e0cc - (tag: build-1.4.30-dev-301) JVM_IR KT-41915 compare Kotlin signatures when adding collection stubs (vor 4 Tagen) <Dmitry Petrov>
* 0e4bd70c29 - (tag: build-1.4.30-dev-300) Redundant nullable return type: fix false positive with elvis return (vor 4 Tagen) <Toshiaki Kameyama>
* 51d405e950 - (tag: build-1.4.30-dev-298) Add json output for IDE performance tests (vor 4 Tagen) <Vladimir Dolzhenko>
* 72dea05854 - (tag: build-1.4.30-dev-296) FIR2IR: approximate type argument if reified (vor 4 Tagen) <Jinseong Jeon>
* 721248f883 - FIR: migrate type-related utils to relevant file (vor 4 Tagen) <Jinseong Jeon>
* 0436a555d5 - [FIR serializer] Support type approximation (vor 4 Tagen) <Mikhail Glukhikh>
* 94a30ff904 - [FIR] Drop redundant type check (vor 4 Tagen) <Mikhail Glukhikh>
* 4da7e762fe - (tag: build-1.4.30-dev-288, tag: build-1.4.30-dev-287) [IR] Skip hidden parameters in WrappedDescriptors (vor 5 Tagen) <Roman Artemev>
* 1da2830e2b - [IR] Support hidden parameters in ir builder (vor 5 Tagen) <Roman Artemev>
* b84084d54e - [IR] Support hidden parameters in IrMangler (vor 5 Tagen) <Roman Artemev>
* 8209b70a2f - [KLIB] Support `isHidden` flag in deserialization (vor 5 Tagen) <Roman Artemev>
* 83d6255294 - [KLIB] Support `isHidden` in proto flags (vor 5 Tagen) <Roman Artemev>
* f01941d1dd - [IR] Support `isHidden` is IrFactory API (vor 5 Tagen) <Roman Artemev>
* 79e2886da1 - [IR] Add `isHidden` flag into IrValueParameter (vor 5 Tagen) <Roman Artemev>
* be16fa76ab - (tag: build-1.4.30-dev-285) Wizard: fix not auto-updated artifactId on project name change (vor 5 Tagen) <Ilya Kirillov>
* ca3b327592 - Wizard: add missing jvm target version for tests in Groovy DSL (vor 5 Tagen) <Ilya Kirillov>
* ee2f0f45fc - Wizard: ignore Kotlin repo in tests (vor 5 Tagen) <Ilya Kirillov>
* 9b157fd291 - (tag: build-1.4.30-dev-276, origin/build-1.4.20-dev-2960) JVM_IR: remove a descriptor-related hack from InterfaceLowering (vor 5 Tagen) <pyos>
* dd913ef450 - JVM_IR: move common metadata serialization code to ClassCodegen (vor 5 Tagen) <pyos>
* a06181771f - IR: make DescriptorMetadataSource a subtype of MetadataSource (vor 5 Tagen) <pyos>
* 86cc5840ed - (tag: build-1.4.30-dev-275, tag: build-1.4.30-dev-272) JVM IR: unmute stepping test noParameterExtensionLambdaArgumentCallInInline3.kt (vor 5 Tagen) <Alexander Udalov>
* 0cccc61654 - JVM IR: unmute stepping test smartStepIntoInterfaceImpl.kt (vor 5 Tagen) <Alexander Udalov>
* e943d76266 - (tag: build-1.4.30-dev-271) [JVM_IR] Rebase fwBackingField stepping test. (vor 5 Tagen) <Mads Ager>
* cfc1ebb4be - (tag: build-1.4.30-dev-264) [FIR] Support several annotation argument diagnostics (vor 5 Tagen) <Лихолетов Михаил>
* 0c13d3197c - [FIR] Fix non-serializable type argument at the end of resolve (vor 5 Tagen) <Mikhail Glukhikh>
* 54d5494ecd - (tag: build-1.4.30-dev-259) JVM_IR special handling for 'remove' collection method stub (vor 5 Tagen) <Dmitry Petrov>
* e6e47f8848 - (tag: build-1.4.30-dev-257) Make watchOS test runnable on another bitness (vor 5 Tagen) <Kirill Shmakov>
* c56952a01e - (tag: build-1.4.30-dev-252) Provide message collector for Java IC analysis (vor 5 Tagen) <Alexey Tsvetkov>
* 17db188b0e - (tag: build-1.4.30-dev-251) Add regression test for already fixed issue KT-41396 (vor 5 Tagen) <Victor Petukhov>
* b202cf0f55 - Apply suggestions from code review (vor 11 Tagen) <1anisim>
* 33d3e1f13e - Update ReadMe.md (vor 11 Tagen) <1anisim>
* cf9f120d55 - Update ReadMe.md (vor 13 Tagen) <1anisim>
* 57ebd0e13a - (tag: build-1.4.30-dev-243) [FIR IDE] Remove unused code and add logging to LightClassProvider (vor 5 Tagen) <Igor Yakovlev>
* be4fcd626c - [FIR IDE] Separate searchers from descriptor usage (vor 5 Tagen) <Igor Yakovlev>
* 36e6247125 - (tag: build-1.4.30-dev-237) Add more details about bit shift operations #KT-41112 (vor 5 Tagen) <Abduqodiri Qurbonzoda>
* 1c0ac850e8 - Incorrect documentation for `rangeTo` function #KT-41356 (vor 5 Tagen) <Abduqodiri Qurbonzoda>
* 56c4a27887 - (tag: build-1.4.30-dev-231) Android Synthetics: Resolve unbound symbols in the AndroidIrExtension (vor 6 Tagen) <Steven Schäfer>
* fe466f3dc6 - Android Synthetics: Update test infrastructure (vor 6 Tagen) <Steven Schäfer>
* fb183ec3f8 - (tag: build-1.4.30-dev-222) Never use JVM IR to compile coroutines-experimental (vor 6 Tagen) <Alexander Udalov>
* f6187b9d64 - Remove dependency of fir:tree:tree-generator on kotlin-reflect (vor 6 Tagen) <Alexander Udalov>
* 58146c4452 - (tag: build-1.4.30-dev-221) Keep DebugMetadata annotation when regenerate lambda with state-machine (vor 6 Tagen) <Ilmir Usmanov>
* 12489ef1b4 - (tag: build-1.4.30-dev-219) Show run test gutters only when appropriate (vor 6 Tagen) <Kirill Shmakov>
* 8cabfda832 - (tag: build-1.4.30-dev-218) Add regression test for already fixed issue KT-41885 (vor 6 Tagen) <Victor Petukhov>
* 7c360c0068 - (tag: build-1.4.30-dev-211) Kotlin Gradle plugin - use build service to share incremental compilation info (vor 6 Tagen) <Ivan Gavrilovic>
* 16d51eb510 - (tag: build-1.4.30-dev-207) [FIR IDE] Add ReadWriteAccessChecker FIR stub (vor 6 Tagen) <Igor Yakovlev>
* 7a19bc32a7 - [FIR IDE] Add base implementation of find usages of overrides (vor 6 Tagen) <Igor Yakovlev>
* f05630fcab - [FIR IDE] Enabled search services and added services stubs (vor 6 Tagen) <Igor Yakovlev>
* 1a10275d0d - [FIR IDE] Enabled usages services and added services stubs (vor 6 Tagen) <Igor Yakovlev>
* 75347d06b9 - [FIR IDE] Move IconProvider in fir independed module (vor 6 Tagen) <Igor Yakovlev>
* e30f09d513 - [FIR IDE] Separate find usages logic from descriptors (vor 6 Tagen) <Igor Yakovlev>
* b102042dd8 - (tag: build-1.4.30-dev-206) Minor: add regression test for KT-41806 (vor 6 Tagen) <Pavel Kirpichenkov>
* 2fad935ce2 - (tag: build-1.4.30-dev-205) FIR deserializer: load inline/external flags properly (vor 6 Tagen) <Jinseong Jeon>
* 2154c94100 - (tag: build-1.4.30-dev-204) [Native] Add tests for resolvable properties (vor 6 Tagen) <Sergey Bogolepov>
* 5a0a853d9b - [Native] Add simple symbol mechanism to konan.properties (vor 6 Tagen) <Sergey Bogolepov>
* fc35b5398c - (tag: build-1.4.30-dev-196) Mute test in Native (vor 7 Tagen) <Pavel Punegov>
* 0b2d05ee30 - (tag: build-1.4.30-dev-193) Minor: dereference `archiveFile` when logging it (vor 7 Tagen) <Nikita Bobko>
* c64c319231 - (tag: build-1.4.30-dev-190) JPS. Suppress "Add new files to git" during portable artifacts extraction (vor 7 Tagen) <Aleksei Cherepanov>
* 7e2269a3cf - (tag: build-1.4.30-dev-186) Update `completion-ranking-kotlin` dependency (0.1.2 -> 0.1.3) (vor 7 Tagen) <Roman Golyshev>
* 97ebf2867a - (tag: build-1.4.30-dev-184) [FIR] Get rid of type mismatch suppression during diagnostic casting (vor 7 Tagen) <Mikhail Glukhikh>
* 6fd3b011ca - [FIR] Simplify substitution for unsafe-variant type parameter types (vor 7 Tagen) <Mikhail Glukhikh>
* e1b4108e4a - [FIR2IR] Mute some tests due to captured type problems (vor 7 Tagen) <Mikhail Glukhikh>
* aa897db132 - [FIR] Introduce UnsafeVariance attribute (see KT-41792) (vor 7 Tagen) <Mikhail Glukhikh>
* e4aaae9ae7 - FIR call completion: approximate type argument types (vor 7 Tagen) <Mikhail Glukhikh>
* 3b828ac62b - [FIR] Bad test data fixes (around captured types) (vor 7 Tagen) <Mikhail Glukhikh>
* cf5480a398 - [FIR] Questionable test data fixes (around captured types) (vor 7 Tagen) <Mikhail Glukhikh>
* 4605a65f41 - [FIR] Good test data fixes (around captured types) (vor 7 Tagen) <Mikhail Glukhikh>
* c2d9fc469a - Get rid of exception at ConeKotlinType.varargElementType (vor 7 Tagen) <Mikhail Glukhikh>
* 2f61a2f56f - [FIR] Provide correct comparison of captured types (vor 7 Tagen) <Mikhail Glukhikh>
* b5f8fec213 - FIR substitution: use standard approximation to remove captured types (vor 7 Tagen) <Mikhail Glukhikh>
* 7a73787680 - [FIR] Use captureFromArguments in createSubstitution (vor 7 Tagen) <Mikhail Glukhikh>
* e83f3bbf04 - Introduce substitution to ConeTypeContext.captureFromArguments (vor 7 Tagen) <Mikhail Glukhikh>
* 414842343d - [FIR2IR] Add another problematic test with captured type argument (vor 7 Tagen) <Mikhail Glukhikh>
* 267382d86b - [FIR2IR] Add problematic test with incorrect type argument (vor 7 Tagen) <Mikhail Glukhikh>
* b395771d01 - (tag: build-1.4.30-dev-178) KT-37050 don't generate redundant special bridges (vor 7 Tagen) <Dmitry Petrov>
* f0282bcfdf - (tag: build-1.4.30-dev-172) JVM IR: add module name for internal functions before "$default" (vor 7 Tagen) <Alexander Udalov>
* 93f38e1c61 - JVM IR: minor, use more specific types in MethodSignatureMapper (vor 7 Tagen) <Alexander Udalov>
* 2a0f64ebcb - JVM IR: do not generate Deprecated(HIDDEN) class as synthetic (vor 7 Tagen) <Alexander Udalov>
* 162dc3aa0c - (tag: build-1.4.30-dev-166) KT-41295: Friend paths and compiler options compatible with conf caching (vor 7 Tagen) <Ivan Gavrilovic>
* be916e556a - (tag: build-1.4.30-dev-165) [FIR] Properly update type of block after postponed analysis of it's content (vor 7 Tagen) <Dmitriy Novozhilov>
* 535898c8a4 - [FIR] Fix processing integer operator calls for not integer types (vor 7 Tagen) <Dmitriy Novozhilov>
* def647c094 - [FIR] Don't constraints for return expressions of lambda if it has Unit return type (vor 7 Tagen) <Dmitriy Novozhilov>
* 8e0d0d2fd8 - Remove redundant safe call to fix FIR compilation (vor 7 Tagen) <Dmitriy Novozhilov>
* 4929417aea - Remove redundant type arguments to fix compilation with FIR (vor 7 Tagen) <Dmitriy Novozhilov>
* 324aaaddad - [FIR] Rename `createArrayOf` to `createArrayType` (vor 7 Tagen) <Dmitriy Novozhilov>
* 3b941a8f43 - [FIR] Complete types of array literals in annotations (vor 7 Tagen) <Dmitriy Novozhilov>
* fbe964c074 - [FIR] Transform annotations on safe calls (vor 7 Tagen) <Dmitriy Novozhilov>
* 0bd7de158c - (tag: build-1.4.30-dev-154, tag: build-1.4.30-dev-149) FIR: update suspend lambda type during declaration resolution (vor 7 Tagen) <Jinseong Jeon>
2020-09-22 15:50:23 +02:00
Mikhael Bogdanov
7d4a734791
Fix nullability of typePath parameter
...
#KT-41484 Fixed
2020-09-22 15:37:02 +02:00
Dmitry Petrov
0539b2b389
Mute some FIR->JVM_IR box tests
...
FIR generates delegated class members incorrectly (with non-substituted
signatures).
2020-09-22 16:32:27 +03:00
Dmitry Petrov
c03573fc18
JVM_IR fix override equivalence check for collection stub generation
...
KT-42043 KT-42033
2020-09-22 15:26:34 +03:00
Pavel Kirpichenkov
fdc134ff66
[NI] Use compatibility mode for KT-41934
2020-09-22 15:06:12 +03:00
Pavel Kirpichenkov
1465e10f12
Add language feature for inference compatibility mode
...
The feature is intended for updates in the inference algorithm
that change behaviour compared to the previous stable version.
2020-09-22 15:06:12 +03:00
Pavel Kirpichenkov
896fbbd1a3
[NI] Add extra ordering for ready-for-fixation variables
...
Helps fixing to more specific type in the following situations:
Type1 <: Var1
Var2 <: Var1
Var2 <: Type2
Type1 and Type2 may also be nullable and non-nullable versions of the same type.
Note that no additional constraints can be inferred from such constraints before fixation.
Resulting types for variables will always Type1 and Type2 may also be nullable and non-nullable versions of the same type.
Fixing Var1 first will make Var2's type more specific while fixing Var2 first
will make Var1's type less specific. The first is preferrable in general.
2020-09-22 15:06:12 +03:00
Kirill Shmakov
ec8465859c
Support rerun of MPP tests for jvm target
2020-09-22 14:44:22 +03:00
Kirill Shmakov
23642d2f86
Support rerun of common MPP tests
...
This is to fix #KT-36909
2020-09-22 14:44:19 +03:00
Toshiaki Kameyama
c09c0468d4
Replace deprecated symbol usage: move named lambda argument outside parentheses
...
#KT-31523 Fixed
2020-09-22 10:51:36 +02:00
Toshiaki Kameyama
d9cf4ee732
Add intention to evaluate compile time expression
...
#KT-40251 Fixed
2020-09-22 10:46:54 +02:00
SvyatoslavScherbina
14eb397cf5
Implement llvm and clang CLI helpers
2020-09-22 11:40:22 +03:00
Mark Punzalan
8cac3f654c
[FIR] Handle pre/postfix dec/increment of labeled expression
2020-09-22 11:06:27 +03:00
Mark Punzalan
f55ff8eb1b
[FIR] Capture receiver for pre/postfix dec/increment of qualified access
...
This prevents double-evaluation of the receiver expression, which may
have side-effects. E.g.: a.b++
2020-09-22 10:20:46 +03:00
Mikhail Glukhikh
393189db8d
FIR JVM serializer: fix compilation after rebase
2020-09-22 09:54:43 +03:00
pyos
6e143a2656
JVM_IR: collect free type parameters when serializing FIR metadata
...
The "free" in "createFreeFakeLambdaDescriptor" and such refers to the
fact that there are no references to type parameters from outside the
current declaration. This is necessary because at the point where the
metadata is written, the type parameters may not even be in scope (e.g.
local delegated properties are serialized at class level, but may refer
to function-scope type parameters).
2020-09-22 09:35:50 +03:00
pyos
aa58ed9234
JVM_IR: partially implement FIR local delegated property reflection
...
Type parameter references are broken, just like for lambdas. Also, the
code is super ugly.
2020-09-22 09:35:45 +03:00
Alexander Udalov
6f622920e7
Minor, deduplicate matching JVM_OLD/JVM_IR duplicateJvmSignature tests
2020-09-21 18:49:36 +02:00
Mads Ager
05c662ec55
[JVM_IR] Remove line numbers from delegated member functions.
...
This fixes smart step into for delegated member functions.
Additionally, we align on the string "memberFunctionName(...)"
for expression non-null checks for both JVM_IR and JVM
backends.
2020-09-21 18:49:08 +02:00
Leonid Startsev
eea4ff33a0
Adapt serialization exceptions constructor calls to signature change
...
(see https://github.com/Kotlin/kotlinx.serialization/pull/1054 )
2020-09-21 17:10:12 +03:00
Leonid Startsev
fe5dbf75fa
Add diagnostic to check whether provided custom serializer matches
...
type of the property.
Check for serializer type mismatch only when custom serializer is present
Otherwise, there are too many false positives on e.g. PolymorphicSerializer
#KT-36329 Fixed
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/830
2020-09-21 17:10:12 +03:00
Leonid Startsev
bc432ecb85
Improve remove/specify type intentions in Explicit API mode
...
Do not suggest to remove type for public declarations
#KT-38915 Fixed
Do not show intention to specify type when corresponding quickfix is available
#KT-39026 Fixed
2020-09-21 17:10:10 +03:00
Svyatoslav Scherbina
b4cd621ab1
Add failing test for multiple static frameworks cache isolation
2020-09-21 17:05:52 +03:00
Svyatoslav Scherbina
bd7cd3807b
Support 'expectedExitStatus' for framework tests
2020-09-21 17:05:52 +03:00
Svyatoslav Scherbina
13c50364e3
Add tests for multiple static frameworks
2020-09-21 17:05:52 +03:00
Leonid Startsev
5f0e7c3c3f
Check return type of internal @PublishedApi functions in Explicit API mode
...
#KT-38981 Fixed
2020-09-21 17:03:06 +03:00
Mikhail Glukhikh
a9972913a6
[FIR TEST] Add some FIR_IDENTICAL to fix recently changed tests
2020-09-21 16:20:37 +03:00
LepilkinaElena
6f498eb526
Fix for long benchmarks ( #4396 )
2020-09-21 14:48:18 +03:00
Andrey Uskov
c9054e7a04
Added possibility to split gradle-integration-tests locally
...
Added property `gradle.integration.tests.split.tasks` for splitting
gradle-integration-tests into several tasks locally (like it happens
at TeamCity)
2020-09-21 13:34:32 +03:00
Andrey Uskov
d151f0e573
Fixed splitting gradle tests into different tasks
2020-09-21 13:34:25 +03:00
Dmitry Savvinov
769c741d87
Revert "Pack jvm builtins into kotlin-stdlib shipped with idea plugin"
...
This reverts commit 0b5aedb0a2 .
2020-09-18 17:30:44 +03:00
Dmitry Savvinov
6db70bb97d
Minor: fix forgotten testdata after 6a55475392
2020-09-18 16:42:49 +03:00