Toshiaki Kameyama
afd544cbab
Introduce "Redundant 'asSequence' call" inspections
...
#KT-35893 Fixed
2020-06-02 22:17:54 +03:00
Ilya Gorbunov
e2c3455445
Document NaN propagation in top-level minOf/maxOf functions
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
d19f9ee0c5
Simplify min/max implementation
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
b4ba00ca36
Document and test NaN propagation of maxOf/minOf
...
Also simplify minOf/maxOf implementations
#KT-38708
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
7b68de38e1
Introduce minOf/maxOf, minOfWith/maxOfWith and their OrNull variants
...
#KT-38708 Fixed
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
6a24becd1d
Introduce sumOf with various selector types
...
#KT-11253
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
bdd53ee9cd
Introduce new overloads of flatMap and flatMapTo
...
- Sequence<T>.flatMap((T) -> Iterable<R>)
- Iterable<T>.flatMap((T) -> Sequence<R>)
- Array<T>.flatMap((T) -> Sequence<R>)
- Map.flatMap((Entry) -> Sequence<R>)
KT-34506
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
562788ceb9
stdlib-gen: allow template function sequences
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
79afc4f72b
stdlib-gen: avoid placing exact duplicates of annotations
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
4ae6665b94
Advance bootstrap to 1.4.0-dev-9619
2020-06-02 19:01:43 +03:00
Mikhail Glukhikh
0ffa0b2bd7
[FIR] Fix effective visibility handling for local members
...
In future 'Local' effective visibility could be used
as a flag of local declaration
2020-06-02 18:47:58 +03:00
Mikhail Glukhikh
cb345a4c19
[FIR mangler] Search for type parameters also in overridden declarations
2020-06-02 18:47:58 +03:00
Mikhail Glukhikh
8c422fbfc7
[FIR2IR] Use signature composer to read external callables
2020-06-02 18:47:58 +03:00
Mikhail Glukhikh
9ea69b4b3c
Introduce first version of FirJvmKotlinMangler & its parts
2020-06-02 18:47:50 +03:00
Mikhail Glukhikh
a239604c24
Rename & make public: Collection.collect -> collectForMangler
2020-06-02 18:43:16 +03:00
Mikhail Glukhikh
ecb48b7ed9
[FIR2IR] Support callables in signature composer
2020-06-02 18:43:16 +03:00
Vyacheslav Gerasimov
563981808d
Build: Move dependencies cleanup to corresponding task action
...
Do cleanup only before dependencies unpacking to avoid tasks which are
always not up-to-date
2020-06-02 16:42:38 +03:00
Vyacheslav Gerasimov
f8b423046e
Build: Don't build idea sources for teamcity builds
2020-06-02 16:42:38 +03:00
Mikhail Glukhikh
05d160b130
Revert "IR linked: introduce IrElement.isExpectMember instead of descriptor use"
...
This reverts commit 4b47eb35
2020-06-02 16:14:27 +03:00
Mikhail Glukhikh
72dd2ef448
[FIR] Fix CFG building for secondary constructor with delegation
2020-06-02 16:12:32 +03:00
Mikhail Glukhikh
b40709649d
[FIR TEST] Add more detailed CFG inconsistency message
2020-06-02 16:12:27 +03:00
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
Sergey Igushkin
f7ed3139ab
Fix unused source sets missing in compilationsBySourceSets (KT-39304)
...
Issue #KT-39304 Fixed
2020-06-02 00:48:55 +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