Mikhail Glukhikh
718f0240a1
[FIR TEST] Add problematic CFG test
2020-06-02 16:12:21 +03:00
Ilya Goncharov
a476d1dbc4
String prototypes polyfills on Object.defineProperty
2020-06-02 14:56:29 +03:00
Ilya Goncharov
9431fc4693
Polyfill for Arrays should be declared with Object.defineProperty
...
To not be enumerable
2020-06-02 14:56:29 +03:00
Ilya Goncharov
83e17cbf09
[Gradle, JS] Use name of target, not name of preset
2020-06-02 14:42:54 +03:00
Ilya Goncharov
b68715441f
[Gradle, JS] Remove redundant fixing names
...
- in case when target name is `jsLegacy` with enabled both mode, we should get `jsLegacyMain` and `jsLegacyTest`, and Gradle plugin creates targets `jsLegacyLegacy` and `jsLegacyIr`, schema is name+suffix where name can be any, KotlinJsTargetPreset's name is name+`Both` so in KotlinJsTargetPreset in `both` case we need remove only `Both` suffix
#KT-39213 Fixed
2020-06-02 12:52:13 +03:00
Andrey Uskov
44f16eac2e
Fixed resolution of dependencies on js libraries compiled in both mode
...
#KT-39213 Fixed
2020-06-02 12:52:13 +03:00
Igor Chevdar
e41b5fc1c6
[IR] Turned on a test for K/N + minor refactoring
...
NothingValueException has already been supported in K/N
2020-06-02 14:50:17 +05:00
Abduqodiri Qurbonzoda
c29e434d33
Remove SuccessOrFailure.kt
2020-06-02 12:04:47 +03:00
Jinseong Jeon
6eb21031b2
FIR JVM serializer: serialize property signature
2020-06-02 12:00:52 +03:00
nataliya.valtman
d6cb469e66
use Gradle 5.6 for tests with android build tool 28.0.3
2020-06-02 11:26:56 +03:00
Konstantin Tskhovrebov
08438dade2
Add project resolver for adding commonizer gradle task to IDEA import
2020-06-02 11:03:51 +03:00
Konstantin Tskhovrebov
94a4aacd9e
Move commonizer to gradle task and attach to lazy file collection.
2020-06-02 11:03:51 +03:00
Vyacheslav Gerasimov
048559c053
as41: Register OCBundle for AS tests
...
fixes mass test fail with 'navigation.class.hierarchy' is not found in java.util.PropertyResourceBundle
2020-06-02 09:23:44 +03:00
Dmitriy Novozhilov
069adebf01
[NI] Fix checking for inline lambdas without candidate
...
#KT-34506
2020-06-01 23:40:32 +03:00
Abduqodiri Qurbonzoda
30037682f8
Revert "Promote String <-> utf8 and CharArray conversions to stable"
...
This reverts commit aba97033
2020-06-01 23:30:55 +03:00
Abduqodiri Qurbonzoda
aba97033f0
Promote String <-> utf8 and CharArray conversions to stable
2020-06-01 22:47:01 +03:00
Abduqodiri Qurbonzoda
f6a739bbc5
Promote bit query api to stable
2020-06-01 22:18:55 +03:00
Abduqodiri Qurbonzoda
55eb75d237
Remove IGNORE_BACKEND directives from forInCharSeqWithIndexStops.kt
2020-06-01 22:00:37 +03:00
Abduqodiri Qurbonzoda
1bd63bb07f
Make consistent parameter nullability with appendLine
2020-06-01 22:00:36 +03:00
Abduqodiri Qurbonzoda
e05eeea6cd
Promote common StringBuilder to stable
2020-06-01 22:00:34 +03:00
Abduqodiri Qurbonzoda
4568e438a9
Promote ExperimentalStdlibApi to stable
2020-06-01 21:59:32 +03:00
Ilya Gorbunov
7cc4cc0cec
Make testDeepTreeOddEvenNodesMutual two times easier
...
Otherwise it often times out in JS tests in a parallel build.
2020-06-01 20:15:55 +03:00
Yunir Salimzyanov
77608c8785
Add temporary fixMeExtensions to pass test on extensions check (KTI-240)
2020-06-01 18:43:11 +03:00
Yunir Salimzyanov
3b9000cc0c
Cleanup 191 extension files (KTI-240)
2020-06-01 18:43:10 +03:00
Yunir Salimzyanov
7ab7ca5ff0
Cleanup as35 extension files (KTI-240)
2020-06-01 18:43:10 +03:00
Yan Zhulanow
4d859a7212
Revert "TrailingCommaInspection: don't report Missing line break for when entry that has no trailing comma"
...
This reverts commit 25787eb8
2020-06-02 00:17:24 +09:00
Yan Zhulanow
a421f74ef0
Revert "Minor: extract new line allowance check"
...
This reverts commit e2f0b76e
2020-06-02 00:17:23 +09:00
Leonid Startsev
1d589e3f56
Rework access to properties in IR plugin
...
use accessors instead of fields whenever possible
2020-06-01 17:48:17 +03:00
Leonid Startsev
02bd8cbd6b
Use SYNTHETIC_OFFSET instead of UNDEFINED
...
because Native's debug information does not accept undefined offsets
2020-06-01 17:48:17 +03:00
Leonid Startsev
7c8c5b057f
Extensible mechanism for plugin metadata during descriptor serialization
...
A mechanism that allows kotlinx.serialization plugin to preserve the
correct (program) order of properties after serializing/deserializing
descriptors to kotlin metadata, which is needed for correct and stable
json serialization of class hierarchies in incremental/multi-module scenario.
It uses protobuf extensions.
2020-06-01 17:48:16 +03:00
Victor Petukhov
8d05253369
NI: take into account effective variance during adding constraints from LHS instead of only use site variance
...
^KT-39220 Fixed
2020-06-01 17:24:49 +03:00
Alexander Gorshenev
561c6747a6
Remove tests from muted
2020-06-01 17:16:31 +03:00
Nikita Bobko
2ef46b586d
Fix broken NavBar for 201
...
^KT-38466 Fixed
^KT-38260 Fixed
2020-06-01 17:05:10 +03:00
Dmitry Petrov
246c68b0a9
PSI2IR: Don't generate IMPLICIT_INTEGER_COERCION
...
Generate integer coercion function calls and properly typed constant
expressions instead.
2020-06-01 16:51:47 +03:00
Juan Chen
bfac0355bf
WIP: [FIR] unmute testKt14227 with FULL_JDK
...
The test used to fail because it has an augmented assignment for
elements in a HashMap of Strings, and "plus" fails to resolve due to
ambiguity: besides String.plus, BigDecimal.plus in the standard
library is also considered. BigDecimal is not resolved and thus
isError returns true. During type checking, the context has
isErrorTypeEqualsAnything set to true, and BigDecimal is now regarded
as a super type of String and BigDecimal.plus is a valid
candidate. Adding the directive "FULL_JDK" enables resolving of
BigDecimal so that BigDecimal.plus is excluded.
2020-06-01 16:47:15 +03:00
Toshiaki Kameyama
45d60baeb0
Add import for member: don't suggest if a class with the same name has been imported
...
#KT-38492 Fixed
2020-06-01 21:42:04 +09:00
Toshiaki Kameyama
329f0227ec
Remove explicit type specification: do not suggest for suspend function type
...
#KT-38310 Fixed
2020-06-01 21:42:04 +09:00
Toshiaki Kameyama
098469eb85
Implement members: implement functions in the same order as within Java interface
...
#KT-31760 Fixed
2020-06-01 21:42:04 +09:00
Yan Zhulanow
741ebeb7b8
Mark semicolons after nullable types redundant, despite of '!' after (KT-38240)
2020-06-01 21:42:04 +09:00
Toshiaki Kameyama
4cf83d9526
Redundant semicolon: don't report when semicolon is between type and '!'
...
#KT-38240 Fixed
2020-06-01 21:42:04 +09:00
Yan Zhulanow
8e8171547b
Add super type in "Convert to anonymous object" test
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
111b2945e1
"Convert to anonymous object" quickfix: false negative when interface has concrete members
...
#KT-37908 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
5b927d798c
Replace explicit parameter with it: don't suggest if overload resolution ambiguity error occurs
...
#KT-20795 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
69a2697598
Convert lambda to reference: add type parameter to outer call expression if needed
...
#KT-37744 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
a4239afcb3
Convert to anonymous function: do not suggest for suspend functions
...
#KT-37842 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
ded996bdf7
PlatformExtensionReceiverOfInline: fix false positive with extension function with nullable type receiver
...
#KT-37256 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
6868f53f46
"Change JVM name" (@JvmName) quickfix: improve name suggester for generic functions
...
#KT-38559 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
5efbbdea57
Lift assignment out: do not report when assignment variables are different
...
#KT-38649 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
498c40548b
Structure view: add visibility sorter
...
#KT-36444 Fixed
2020-06-01 21:42:03 +09:00
Toshiaki Kameyama
9aaba8c759
Structure view: add visibility filter for class properties
...
#KT-38276 Fixed
2020-06-01 21:42:03 +09:00