Toshiaki Kameyama
c91858d470
Convert member to extension: do not suggest for delegated properties
...
#KT-35128 Fixed
2020-07-30 17:32:31 +03:00
Pavel Punegov
e675ea67d8
Fix dependencies and tests for Konan gradle plugin
2020-07-30 13:36:40 +03:00
Pavel Punegov
b114ccc591
Use konan.home to specify dist directory
2020-07-30 13:36:23 +03:00
Dmitry Petrov
46fccae7d1
PSI2IR: KT-40499 Fix delegated property desugaring
...
No type arguments were provided for property reference inside delegated
property accessors.
2020-07-30 13:18:36 +03:00
Jinseong Jeon
bff36e0199
FIR2IR: convert annotations on FirTypeRef
2020-07-30 11:25:36 +03:00
Georgy Bronnikov
4ca98041cd
IR: update test data
2020-07-30 11:24:08 +03:00
Georgy Bronnikov
a27d63f58f
JVM_IR: flexible nullability as annotation
...
We carry information about flexible nullability of IrType as an
annotation, so there is no need to look at its underlying KotlinType.
2020-07-30 11:24:07 +03:00
Georgy Bronnikov
a2e9521ad5
Make DescriptorlessExternalPackageFragmentSymbol public
2020-07-30 11:24:07 +03:00
Georgy Bronnikov
c2ead0303b
IR: remove more descriptor usage
2020-07-30 11:24:07 +03:00
Sergey Bogolepov
8af5d99197
Bump kotlinx-metadata-klib version
...
New version contains fixes that allow to drop uniqid.
2020-07-30 12:20:50 +07:00
Sergey Bogolepov
18abebe387
[Interop][Metadata] Do not emit UniqId
...
We don't need to emit UniqId on cinterop side anymore because IR linker computes IdSignature (which supersedes UniId) by itself when resolves interop descriptor (dde5eced87 ).
2020-07-30 12:20:50 +07:00
Vasily Levchenko
d13bcef4f2
[test][dwarfdump] todo
2020-07-30 07:12:28 +02:00
Vasily Levchenko
374a759f0c
[test][dwarfdump] add method to lookup by symbol name
2020-07-30 07:12:28 +02:00
Vasily Levchenko
930ad51fae
[test][dwarfdump] drop ignore annotation
2020-07-30 07:12:28 +02:00
Vasily Levchenko
28c2d3c29d
[codegenerator] wrap local function generation in original lambda's file scope
2020-07-30 07:12:28 +02:00
Vasily Levchenko
537b545d56
[test][dwarfdump][g/c] test refactoring
2020-07-30 07:12:28 +02:00
Sergey Bogolepov
d05f200726
[Interop][Tests] Setter for global of const type
2020-07-30 10:26:13 +07:00
Sergey Bogolepov
52988b5551
[Interop][Tests] Check function flags
2020-07-30 10:26:13 +07:00
Sergey Bogolepov
6efc488084
[Metadata][Interop] Fix KT-39762
...
Do not omit declaration that we couldn't import. Mark in as deprecated instead.
2020-07-30 10:26:13 +07:00
Sergey Bogolepov
e93c623c40
[Tests][Interop] Add test for unsupported declarations
2020-07-30 10:26:13 +07:00
Sergey Bogolepov
a7e3c5ca2a
[KT-40508] Respect libraryPaths in metadata interop
2020-07-30 10:23:20 +07:00
Alexander Gorshenev
9a717e9ecf
Don't copy default value parameters for fake overrides
2020-07-29 22:15:10 +03:00
Mark Punzalan
2cfd776092
ForLoopsLowering: Assume step == 1 for *Range (e.g., IntRange) and
...
handle accordingly (e.g., do not read `step` property).
2020-07-29 20:44:51 +02:00
Dmitry Petrov
09e47fff7b
Fix KotlinGradleIT.testCustomCompilerFile
...
Referencing org.jetbrains.annotations.{Nullable, NotNull} classes in
static initializer causes ClassNotFoundError in testCustomCompilerFile.
2020-07-29 20:33:17 +03:00
Dmitry Petrov
dae358c792
JVM: KT-40664 disable optimization for 'ULong in range of UInt' case
2020-07-29 20:33:17 +03:00
Dmitry Petrov
f2493d0950
JVM: KT-40665 more exact check for intrinsified range 'contains'
2020-07-29 20:33:17 +03:00
Roman Artemev
0559e192ee
[JS IR] Support external delegation in case of JS in psi2ir
...
- fix FE delegation resolver
- fix critical KT-40650
2020-07-29 19:57:05 +03:00
Nicolay Mitropolsky
c254651ed3
Uast: handling annotations on the property receiver (KT-40539)
2020-07-29 19:42:22 +03:00
Yaroslav Chernyshev
325ad56dcd
Populate Kotlin source set roots with KotlinSourceRootTypes
...
By default Kotlin source root is populated with JavaSourceRootType and
changed during import only if real source folder exists.
Now Kotlin source roots has valid source type right after creation
#KT-37106 Fixed
2020-07-29 19:24:44 +03:00
Ilmir Usmanov
fec845365a
Minor. No longer ignore obsolete PRE_RELEASE_CLASS diagnostic
...
in coroutine tests.
2020-07-29 17:52:01 +02:00
Simon Ogorodnik
ebfcd7e074
J2K: Improve presentation of conversions
2020-07-29 17:56:03 +03:00
Simon Ogorodnik
5c745facf4
J2K: Improve error message in case of incorrect detach
2020-07-29 17:56:02 +03:00
Simon Ogorodnik
dc963e4ff6
Improve J2K progress reporting
2020-07-29 17:56:02 +03:00
Simon Ogorodnik
8bcf1000f6
J2K: Fix java 9 try-with-resources
2020-07-29 17:56:02 +03:00
Simon Ogorodnik
c5005f8695
J2K: Speed-up add imports
2020-07-29 17:56:01 +03:00
Simon Ogorodnik
cd0c644654
J2K: Fix incorrect early detaching of elements in for conversion
2020-07-29 17:56:00 +03:00
Simon Ogorodnik
8c2dd876b5
J2K: Fix incorrect argument remapping when introducing defaults
2020-07-29 17:56:00 +03:00
Simon Ogorodnik
cd7ac55091
J2K: Show converted/total file counts
2020-07-29 17:55:59 +03:00
Simon Ogorodnik
468af0bb85
J2K: Fix type parameters in LHS of callable reference
2020-07-29 17:50:10 +03:00
Igor Chevdar
e8845c29fe
[IR] Used attributes instead of a hack to get original function
2020-07-29 15:19:36 +03:00
Leonid Startsev
96d0b1c47a
Update serialization runtime and fix test data
...
Revert "Mute/ignore 'PROVIDED_RUNTIME_TOO_LOW' in tests"
2020-07-29 14:20:33 +03:00
Nikolay Krasko
a6a22d1cde
Revert "Populate Kotlin source set roots with KotlinSourceRootTypes"
...
This reverts commit e2634190
2020-07-29 12:05:42 +03:00
SvyatoslavScherbina
2c00af05b7
Document handling of extensions in ObjCExport
...
Co-authored-by: Pavel Semyonov <42832629+p7nov@users.noreply.github.com >
2020-07-29 11:06:17 +03:00
Yaroslav Chernyshev
e263419088
Populate Kotlin source set roots with KotlinSourceRootTypes
...
By default Kotlin source root is populated with JavaSourceRootType and
changed during import only if real source folder exists.
Now Kotlin source roots has valid source type right after creation
#KT-37106 Fixed
2020-07-29 10:26:42 +03:00
Ilmir Usmanov
4fb5f8603a
Keep $continuation in LVT
...
in case of suspend functions and `this` is case of lambdas, since they
are used in async stack trace generation.
Update tests.
#KT-40661 Open
2020-07-29 00:01:12 +02:00
Ilmir Usmanov
db40808186
Minor. Remove unused SourceFrames
2020-07-29 00:01:11 +02:00
Ilmir Usmanov
70e91bd5db
Shrink and split LVT records of variables according to their liveness
...
Otherwise, debugger will show uninitialized values of dead variables
after resume.
#KT-16222
#KT-28016 Fixed
#KT-20571 Fixed
2020-07-29 00:01:10 +02:00
Ilmir Usmanov
e5995f0c12
Update R8
...
Because old version throws assertion error if parameter's LVT record
does no span the whole function.
2020-07-29 00:01:10 +02:00
Ilmir Usmanov
60875f96b4
Do not take LVT into account when calculating liveness of variables
2020-07-29 00:01:09 +02:00
Alexander Udalov
687d13a320
IR: cleanup expression implementations
...
Remove unused constructors with descriptors, minimize usages of
secondary constructors and make some properties non-lateinit, fix some
inspections.
2020-07-28 20:05:58 +02:00