Ilya Gorbunov
eb8e701cb5
Make IntrinsicConstEvaluation annotation internal
2022-05-17 14:38:43 +00:00
Steven Schäfer
90d09dce2c
JVM IR: Mangle overridden symbols in non-inline functions (KT-52394)
2022-05-17 12:13:29 +00:00
pyos
0fc676a20c
JVM: remove TypedNullValue, hack interpreter instead
2022-05-17 11:58:06 +00:00
pyos
513ef575ce
JVM: correctly merge typed null values
...
1. merge(null of type A, null of type B) = null of unknown type;
2. merge(null of type A, something of type B) = merge(unknown null, B).
^KT-52311 Fixed
2022-05-17 11:58:06 +00:00
nataliya.valtman
dcdd1cd14e
KT-49780 Do not clean outputs after cache corruption
2022-05-17 08:47:23 +00:00
Victor Petukhov
6c994787b3
[FE 1.0] Don't expand type enhancement
...
Actually shallow type enhancement is primary, it's more specific
^KT-50734 Fixed
2022-05-17 07:38:26 +00:00
konstantin.tskhovrebov
59b92c02b4
Add OptIn for KotlinNativeArtifactDSL implementation: mute warning.
2022-05-16 13:54:41 +00:00
Dmitriy Dolovov
6cf945f512
[Native][tests] Don't enforce test mode for KLIB ABI tests
2022-05-16 13:42:01 +00:00
Ilya Muradyan
edacd90a6c
[Scripting] Take local repository path from settings if it exists
2022-05-16 12:29:25 +00:00
Pavel Kunyavskiy
2c5d44ccf0
[K/N] downgrade node-fetch in perfomance server to version compatible with kotlin/js
2022-05-16 12:17:01 +00:00
Ilya Muradyan
46563e93ea
[Scripting] Allow transitive resolution of non-JAR artifacts
...
It allows to resolve libraries sources which is crucial for
Kotlin Notebook plugin.
2022-05-16 11:45:47 +00:00
Alexander Shabalin
a58e2459c6
[K/N] Add SAM with receiver plugin
2022-05-16 11:00:42 +00:00
Pavel Punegov
c545fd5ef8
[K/N] Add build-tools as a module for IDEA
...
Adds a module to project making it able to use analysis
and syntax highlight
2022-05-16 11:00:41 +00:00
konstantin.tskhovrebov
84add3a27e
KT-44155: Add 'headers' option to Cocoapod config.
...
It is needed for Cinteroping with pods without module map inside
2022-05-16 10:57:39 +00:00
konstantin.tskhovrebov
4753c3f4a3
KT-52328: Add '-framework' linker flag only if framework exists.
2022-05-16 10:55:46 +00:00
sebastian.sellmair
d737c3ebbe
[Gradle][MPP] Setup Gradle attributes for commonizer classpath configuration
...
KT-51583
2022-05-14 13:49:23 +00:00
Dmitriy Novozhilov
032f17920e
[Gradle] Add 1.8 and 1.9 api versions to gradle plugin
...
^KT-52208 Fixed
2022-05-14 09:54:42 +00:00
Pavel Kunyavskiy
134647169e
[K/N] add custom builtin_mul_overflow to workaround llvm bug
...
^KT-52365
2022-05-14 06:49:32 +00:00
Steven Schäfer
0da23198e6
JVM_IR: Add null-checks in SAM wrapper constructors (KT-50108)
2022-05-14 02:01:44 +02:00
Kristoffer Andersen
7f531d8426
[IR] Improve stepping/LVT behavior around destructuring
2022-05-13 23:19:27 +02:00
Kristoffer Andersen
c3dbb44e5f
[IR] Adjust LVT test expectations and mute accordingly
2022-05-13 23:19:27 +02:00
Kristoffer Andersen
b81139ad36
[IR] More extensive LVT tests around destructuring
...
All tests in this commit _pass_ to document existing behavior, but
this will change in a separate commit as we reflect desired behavior
in the test expectations.
2022-05-13 23:19:27 +02:00
Pavel Kunyavskiy
9b44c73f54
[K/N] fix build for perfomance server & upgrade dependencies
2022-05-13 19:47:36 +00:00
Denis.Zharkov
e632689d90
FIR2IR: Fix case of using context receivers in property initializers
2022-05-13 18:04:02 +00:00
Denis.Zharkov
b87412c5af
FIR2IR: Fix substitution work for context receivers
2022-05-13 18:04:02 +00:00
Denis.Zharkov
9ec2411218
FIR: Fix behavior for context-receiver contained super class constructor
...
^KT-51889 Fixed
2022-05-13 18:04:02 +00:00
Denis.Zharkov
299c02a822
FIR: Introduce FirContextReceiverArgumentListOwner
...
Add it as a supertype for FirQualifiedAccess and FirDelegatedConstructorCall
^KT-51889 Related
2022-05-13 18:04:01 +00:00
Denis.Zharkov
81416d1c46
Fix codegen for context-receiver contained super class constructor calls
...
^KT-51889 In Progress
2022-05-13 18:04:01 +00:00
Svyatoslav Scherbina
e39fb807a7
Bump Kotlin/Native version to 1.7.20-dev-1094
2022-05-13 16:10:14 +00:00
Svyatoslav Kuzmich
813b600555
[Wasm] Don't write .wat files in box tests
...
These files take space on CI, but they are not validated or processed
automatically in any way.
Disabled by default, enabled via kotlin.wasm.debugMode=1
2022-05-13 11:20:13 +00:00
Artem Kobzar
6da3b3b274
fix: remove unnecessary warnings for export declarations.
2022-05-13 11:10:17 +00:00
Artem Kobzar
4e06ff26d4
fix(KT-39423): add support of optional parameters to constructor + fix bug with optional parameters inside functions.
2022-05-13 10:46:32 +00:00
Ilya Goncharov
0c24d0ec9f
[JS IR]Add case with file-exported class inherited from non-exported int
...
KT-52252
Merge-request: KT-MR-6270
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
2022-05-13 10:41:16 +00:00
Andrey Uskov
a3d8ccfc15
[build statistics] Allow reporting milestostone and RC versions
2022-05-13 11:08:37 +03:00
Andrey Uskov
44834bf82c
[build statistics] Truncate long values instead of randomization
2022-05-13 11:08:36 +03:00
dependabot[bot]
33c122d231
Bump ejs from 2.6.1 to 3.1.7 in /kotlin-native/tools/performance-server
...
Bumps [ejs](https://github.com/mde/ejs ) from 2.6.1 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases )
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mde/ejs/compare/v2.6.1...v3.1.7 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-13 10:00:06 +03:00
Roman Golyshev
254151d82c
[FIR IDE] Use proper FirSessions in FirSupertypesResolution
...
Symbols might be from other modules, so we need to use corresponding
`FirSession`s; otherwise it would be impossible to query symbols
from `firProvider`
^KTIJ-21714 Fixed
2022-05-12 21:22:22 +04:00
Victor Petukhov
11eb5ce39c
[FE] Check types in canHaveCommonSubtype for intersection emptiness with erasing nullability
...
It doesn't affect having common subtypes check but may lead to false positives
^KT-52364 Fixed
2022-05-12 15:11:27 +00:00
Victor Petukhov
ba158de848
[FE] Use errorTypesEqualToAnything and stubTypesEqualToAnything for type checker context which is used for type intersection emptiness check
2022-05-12 15:11:27 +00:00
Ilya Kirillov
7ac001b7bd
[analysis api] fix KDoc for the analyze function
2022-05-12 16:24:24 +02:00
Ilya Kirillov
b5ad6f5db4
[analysis api] move analysis session classes to separate packages, use KtAnalysisApiInternals to mark internal API
2022-05-12 16:15:14 +02:00
Ilya Kirillov
eb9085c083
[analysis api] rename analyse -> analyze to match American word spelling
2022-05-12 16:15:13 +02:00
Ilya Kirillov
fe35204e9f
[analysis api] get rid of additional analyseWithCustomValidityToken
2022-05-12 16:15:11 +02:00
Jiaxiang Chen
7b038860b5
AA: add analyzeWithKtModule API for analyzing without KtElement
2022-05-12 16:15:03 +02:00
Ilya Kirillov
ef0160c026
[analysis api] rename ValidityToken -> KtLifetimeToken
2022-05-12 16:15:02 +02:00
Alexander Shabalin
d77041aad0
[K/N] Move all knowledge about CompileToBitcode to the plugin.
...
Merge-request: KT-MR-6215
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-05-12 12:20:31 +00:00
Dmitriy Novozhilov
2796d21ec6
[FIR] Create snapshot of tower data context for postponed callable referneces
...
This fixes an issue if type of some implicit receiver was changed because
of changed smartcast in outer scope
^KT-51228 Fixed
2022-05-12 12:15:31 +03:00
Dmitriy Novozhilov
118073e5d6
[FIR] Cleanup code of transforming callable references
2022-05-12 12:15:31 +03:00
Dmitriy Novozhilov
4301b05e15
[FE] Add API version 1.9
...
^KT-52208 In progress
2022-05-12 12:14:11 +03:00
Alexander Shabalin
89afa4c5b5
[K/N] Use mimalloc for kotlin objects only ^KT-52130
...
Merge-request: KT-MR-5805
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-05-12 08:48:37 +00:00