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
Abduqodiri Qurbonzoda
36e6247125
Add more details about bit shift operations #KT-41112
2020-09-16 04:05:12 +03:00
Abduqodiri Qurbonzoda
1c0ac850e8
Incorrect documentation for rangeTo function #KT-41356
2020-09-16 04:05:12 +03:00
Steven Schäfer
56c4a27887
Android Synthetics: Resolve unbound symbols in the AndroidIrExtension
2020-09-15 22:36:50 +02:00
Steven Schäfer
fe466f3dc6
Android Synthetics: Update test infrastructure
2020-09-15 22:36:50 +02:00
Alexander Udalov
fb183ec3f8
Never use JVM IR to compile coroutines-experimental
...
JVM IR backend doesn't support old coroutines, so we disable it via
-Xno-use-ir, just as for the main source set. This option has no effect
for the current master builds, but will be necessary once JVM IR is
enabled project-wide.
2020-09-15 19:59:14 +02:00
Alexander Udalov
f6187b9d64
Remove dependency of fir:tree:tree-generator on kotlin-reflect
...
This dependency was unused. It allows to avoid waiting for compiling
kotlin-reflect (which includes descriptors, deserialization, etc.)
before compiling FIR modules and thus improves total build time.
2020-09-15 19:59:14 +02:00
Ilmir Usmanov
58146c4452
Keep DebugMetadata annotation when regenerate lambda with state-machine
...
When a suspend lambda does not capture crossinline lambda, it is
generated with as state-machine, since it does not inline anything.
However, when regenerating, the inliner used to remove all DebugMetadata
annotations to avoid duplication. This lead to missing annotation if
the lambda is regenerated, but state-machine is not regenerated.
This change fixes the blind spot by readding the annotation after
regeneration.
#KT-41789 Fixed
2020-09-15 19:57:02 +02:00
Kirill Shmakov
12489ef1b4
Show run test gutters only when appropriate
...
This is to fix KT-36370
2020-09-15 19:09:52 +03:00
Victor Petukhov
8cabfda832
Add regression test for already fixed issue KT-41885
2020-09-15 19:03:16 +03:00
Ivan Gavrilovic
7c360c0068
Kotlin Gradle plugin - use build service to share incremental compilation info
...
For large projects, incremental comilation mapping information may be quite
large. With configuration caching enabled, each task gets its own copy of that
state, and for a project with 1400 subprojects, this resulted in 3.6GB of additional
state stored (once task graph is cached).
This change introduces IncrementalModuleInfoProvider which allows build service
to be used if configuration caching is enabled, and it falls back to static
constant otherwise.
2020-09-15 15:19:56 +03:00
Mattia Iavarone
ae4c934f97
Add android/native_window_jni.h to Android platform libs
2020-09-15 18:54:05 +07:00
Vasily Levchenko
f714514918
[build][jar-collision] added META-INF/deserialization.common.[jvm.]kotlin_module
2020-09-15 13:18:32 +02:00
Alexander Udalov
fd84ca039d
IR: minor, make IrClass.companionObject return IrClass
...
(cherry picked from commit c2f34c96f96fe52b3f3fbbe5de0313d7712f67f6)
2020-09-15 13:18:32 +02:00
Dmitriy Novozhilov
3d552ae7bb
Update jar collision rules
...
(cherry picked from commit c92160b3639a0bfdc82b9e6dfc50a8eed8684d31)
2020-09-15 13:18:32 +02:00