Ilmir Usmanov
f960201f52
Ignore type parameters of inline class
...
when checking whether we can return unboxed inline class
from suspend function
2020-09-17 11:20:48 +02:00
Dmitry Petrov
fbfe56e0cc
JVM_IR KT-41915 compare Kotlin signatures when adding collection stubs
2020-09-17 11:37:29 +03:00
Toshiaki Kameyama
0e4bd70c29
Redundant nullable return type: fix false positive with elvis return
...
#KT-41878 Fixed
2020-09-17 09:49:02 +02:00
Vladimir Dolzhenko
51d405e950
Add json output for IDE performance tests
2020-09-17 08:57:08 +02:00
Jinseong Jeon
72dea05854
FIR2IR: approximate type argument if reified
2020-09-17 09:43:46 +03:00
Jinseong Jeon
721248f883
FIR: migrate type-related utils to relevant file
2020-09-17 09:32:52 +03:00
Igor Chevdar
cc940e9012
[IR][optmz] Added hint in case of EA failure
2020-09-17 09:24:46 +03:00
Mikhail Glukhikh
0436a555d5
[FIR serializer] Support type approximation
...
Before this commit we relied on a fact that exotic types aren't
possible at serialization stage. However, in non-ABI mode we can get
even a private function (e.g. top-level private), so we have to perform
this approximation.
2020-09-17 09:19:34 +03:00
Mikhail Glukhikh
94a30ff904
[FIR] Drop redundant type check
2020-09-17 09:16:00 +03:00
Igor Chevdar
06f2ef17be
[optmz] Fix for https://youtrack.jetbrains.com/issue/KT-41907 + test
2020-09-17 09:01:31 +03:00
Ilya Matveev
2c821351df
[build] Fix stdlib caches in the light distribution
...
Latest changes in the cache layout has added a new bitcode_deps file
to a cache directory. But a task building a light distribution
bundle doesn't handle this. So such files for stdlib and
kotlinx.cli are missing in the light distribution. This causes
failures when building platform libs and caches at the user side.
This patch fixes this issue by taking the new cache layout into
account in the bundle task.
2020-09-17 12:20:23 +07:00
Ilya Matveev
83b8240dbb
[build] Fix outputs for the cache task
...
A klib filename without extension was used to determine a name
of a cache directory for this klib. This is incorrect if the
klib is stored in a directory with dots in its name. This breaks
up-to-date checks, so Gradle doesn't rerun the task if the
cache directory was deleted.
This patch fixes this issue.
2020-09-17 12:20:23 +07:00
Roman Artemev
4da7e762fe
[IR] Skip hidden parameters in WrappedDescriptors
2020-09-17 00:57:17 +03:00
Roman Artemev
1da2830e2b
[IR] Support hidden parameters in ir builder
2020-09-17 00:57:16 +03:00
Roman Artemev
b84084d54e
[IR] Support hidden parameters in IrMangler
...
- make them be skipped in signature
2020-09-17 00:57:16 +03:00
Roman Artemev
8209b70a2f
[KLIB] Support isHidden flag in deserialization
2020-09-17 00:57:16 +03:00
Roman Artemev
83d6255294
[KLIB] Support isHidden in proto flags
2020-09-17 00:57:16 +03:00
Roman Artemev
f01941d1dd
[IR] Support isHidden is IrFactory API
...
- add API to create a hidden value parameter
2020-09-17 00:57:16 +03:00
Roman Artemev
79e2886da1
[IR] Add isHidden flag into IrValueParameter
2020-09-17 00:57:15 +03:00
Ilya Kirillov
be16fa76ab
Wizard: fix not auto-updated artifactId on project name change
...
#KT-41695 fixed
2020-09-17 00:29:48 +03:00
Ilya Kirillov
ca3b327592
Wizard: add missing jvm target version for tests in Groovy DSL
...
#KT-41958 fixed
2020-09-17 00:29:48 +03:00
Ilya Kirillov
ee2f0f45fc
Wizard: ignore Kotlin repo in tests
...
They may differ sometimes as they depend on the latest Kotlin release
2020-09-17 00:29:47 +03:00
pyos
9b157fd291
JVM_IR: remove a descriptor-related hack from InterfaceLowering
...
It will break with FIR.
2020-09-16 18:58:40 +02:00
pyos
dd913ef450
JVM_IR: move common metadata serialization code to ClassCodegen
2020-09-16 18:58:40 +02:00
pyos
a06181771f
IR: make DescriptorMetadataSource a subtype of MetadataSource
...
FirMetadataSource is a metadata source too.
2020-09-16 18:58:40 +02:00
Alexander Udalov
86cc5840ed
JVM IR: unmute stepping test noParameterExtensionLambdaArgumentCallInInline3.kt
...
Bytecode generated by JVM IR ensures that on multiline expressions,
every call is stepped over, which seems better than in the old backend.
Also remove kt34905.kt since it duplicates this test case.
2020-09-16 17:52:27 +02:00
Alexander Udalov
0cccc61654
JVM IR: unmute stepping test smartStepIntoInterfaceImpl.kt
...
The only difference seems to be that step into IImpl.fooOverride is
actually supported in JVM_IR. Also fix slightly incorrect line numbers
in the comments.
2020-09-16 17:52:27 +02:00
Mads Ager
e943d76266
[JVM_IR] Rebase fwBackingField stepping test.
...
The difference is that JVM_IR generates line numbers for the
constructor field initialization.
In this case:
```
29: class B {
30: // comment
31: val bPropVal: Int,
32: // comment
33: var bProbVar: Int
34: ) {
```
the line numbers for the field initializations are 31 and 33 where
in the current backend the whole constructor has line number 29.
2020-09-16 17:51:22 +02:00
Лихолетов Михаил
cfc1ebb4be
[FIR] Support several annotation argument diagnostics
2020-09-16 16:53:31 +03:00
Mikhail Glukhikh
0c13d3197c
[FIR] Fix non-serializable type argument at the end of resolve
2020-09-16 16:53:29 +03:00
Pavel Punegov
251cf1220b
Add more tests to exclude list
2020-09-16 16:35:01 +03:00
Pavel Punegov
269f6f5493
Support friend modules in external tests
2020-09-16 16:35:01 +03:00
Pavel Punegov
90d4246d22
Actualize exclude list
2020-09-16 16:35:01 +03:00
Pavel Punegov
646f2cb114
Fix insertion of packages and imports after the file annotation
2020-09-16 16:35:01 +03:00
Dmitry Petrov
54d5494ecd
JVM_IR special handling for 'remove' collection method stub
2020-09-16 15:36:16 +03:00
Kirill Shmakov
e6e47f8848
Make watchOS test runnable on another bitness
2020-09-16 14:58:28 +03:00
Elena Lepilkina
c50ff6dd07
Increase time for measurement for stabilizing work of LSD on benchmarks
2020-09-16 14:40:23 +03:00
SvyatoslavScherbina
aa3b28919e
Fix support for @OverrideInit constructors with default arguments
...
#KT-41910 Fixed
2020-09-16 14:24:14 +03:00
Alexey Tsvetkov
c56952a01e
Provide message collector for Java IC analysis
...
#KT-37446 Fixed
2020-09-16 14:04:51 +03:00
Victor Petukhov
17db188b0e
Add regression test for already fixed issue KT-41396
2020-09-16 14:02:32 +03:00
Alexander Anisimov
5e46e5355d
Merge pull request #3706 from 1anisim/patch-2
...
Update ReadMe.md
2020-09-16 13:59:12 +03:00
Mattia Iavarone
b47a5e75fe
Make gles31 depend on gles3
2020-09-16 17:23:05 +07:00
Mattia Iavarone
d29521fb72
Add gles31.def to Android platform libs
2020-09-16 17:23:05 +07:00
Svyatoslav Scherbina
c585751d78
Enable coverage_controlflow and coverage_smoke1 tests in two-stage mode
2020-09-16 11:44:50 +03:00
Svyatoslav Scherbina
3b496f3b54
Fix coverage for else branch in deserialized IR
2020-09-16 11:44:50 +03:00
Igor Yakovlev
57ebd0e13a
[FIR IDE] Remove unused code and add logging to LightClassProvider
...
Remove not used icons from independed icons provider
Add class logging to KotlinUsageTypeProvider
Remove redundant comments from LightClassProvider
2020-09-16 10:47:47 +03:00
Igor Yakovlev
be4fcd626c
[FIR IDE] Separate searchers from descriptor usage
...
KotlinConstructorDelegationCallReferenceSearcher
KotlinConventionMethodReferencesSearcher
KotlinDefinitionsSearcher
KotlinOverridingMethodReferenceSearcher
KotlinPropertyAccessorsReferenceSearcher
KotlinTodoSearcher
2020-09-16 10:47:47 +03:00
Sergey Bogolepov
fed14c4e60
[samples] Fix coverage sample compilation
2020-09-16 12:59:58 +07:00
Sergey Bogolepov
da2a2b73e9
[samples] 1.4.10
2020-09-16 12:59:58 +07:00
Ilya Matveev
c302ae895e
Update Gradle: 6.6.1
2020-09-16 12:23:50 +07:00