Mikhail Zarechenskiy
17df92e999
Fix case in stdlib where more specific type lead to error
...
See #KT-30299 & #KT-32125
2020-02-13 11:15:57 +03:00
Mikhail Zarechenskiy
599ff4711e
Temporary fix code before proper support of UnsafeVariance in NI
...
See #KT-34433
2020-02-13 11:15:57 +03:00
Mikhail Zarechenskiy
cdf5323f8c
Disable NewInference for stdlib tests
...
There is one failing test namely `ValByMapExtensionsTest.doTest`, which
is quite questionable because its checks the use of out projection and
Exact annotation (see KT-18789)
2020-02-13 11:15:56 +03:00
Abduqodiri Qurbonzoda
ed7b8e9b85
Scan functions for Sequences and Iterable #KT-7657
2020-02-13 04:01:47 +03:00
Sergey Igushkin
c28d8c6575
Don't iterate over all tasks in KotlinProjectNpmResolver (KT-36472)
...
Iterating over all tasks triggered the tasks to configure even if that
was not necessary. Filter the task collection by type instead.
Issue #KT-36472 Fixed
2020-02-12 19:04:06 +03:00
Abduqodiri Qurbonzoda
ddcc3b39f7
JS Regex.find does not throw on invalid start index #KT-36082
2020-02-12 18:26:50 +03:00
Abduqodiri Qurbonzoda
c592201a43
Fail fast in Regex.findAll on an invalid startIndex #KT-28356
2020-02-12 18:26:49 +03:00
Ilya Goncharov
fd0c644b6f
[Gradle, JS] Fix order of free compiler args assigning
2020-02-12 17:29:36 +03:00
Ilya Goncharov
cd8af5d3ec
[Gradle, JS] Configure build for nodejs in ir
2020-02-12 17:29:36 +03:00
Ilya Goncharov
a1497682ed
[Gradle, JS] Remove depending of link tasks on assemble
2020-02-12 17:29:36 +03:00
Ilya Goncharov
db86076864
[Gradle, JS] Remove redundant dependsOn
...
- in CopySpec if task in from, dependsOn is automatically set
2020-02-12 17:29:36 +03:00
Ilya Goncharov
752d676523
[Gradle, JS] Fix tests for VariantAwareDependenciesIT.kt
2020-02-12 17:29:35 +03:00
Ilya Goncharov
589cea557b
[Gradle, JS] Fix tests after changing default on legacy instead of ir
2020-02-12 17:29:35 +03:00
Ilya Goncharov
fc872d5a53
[Gradle, JS] Fix clean output test
2020-02-12 17:29:35 +03:00
Ilya Goncharov
e53fd1b582
[Gradle, JS] Distribution and distribute task for KotlinBrowserJsIr.kt
2020-02-12 17:29:35 +03:00
Ilya Goncharov
bbb98f9168
[Gradle, JS] Change default on legacy instead of ir
2020-02-12 17:29:35 +03:00
Ilya Goncharov
a33affc325
[Gradle, JS] Fix android tests
...
- Can't write npm project to task data because 2 reasons:
-- May be not npm project (if not declared nodejs or browser)
-- In Android there is clash of clean tasks on creating NPM project
2020-02-12 17:29:35 +03:00
Ilya Goncharov
016dd91e37
[Gradle, JS] Fix destination dir for link tasks
...
- Add test on empty output with empty inputs
2020-02-12 17:29:35 +03:00
Ilya Goncharov
24d229e5a0
[Gradle, JS] Make entryModule internally
2020-02-12 17:29:35 +03:00
Ilya Goncharov
5aed541d9e
[Gradle, JS] Remove redundant
2020-02-12 17:29:35 +03:00
Ilya Goncharov
333bb4da50
[Gradle, JS] Remove redundant delegation
2020-02-12 17:29:34 +03:00
Ilya Goncharov
196907b2ef
[Gradle, JS] Compatibility with lower than 4.9
2020-02-12 17:29:34 +03:00
Ilya Goncharov
0129b71cfe
[Gradle, JS] Link task is part of assemble
2020-02-12 17:29:34 +03:00
Ilya Goncharov
347f52ae10
[Gradle, JS] Fix tests for both mode
2020-02-12 17:29:34 +03:00
Ilya Goncharov
c8be2876bc
[Gradle, JS] Remove redundant compiler flags and make them internal
2020-02-12 17:29:34 +03:00
Ilya Goncharov
bdf76f9264
fixup! [Gradle, JS] Fix review remarks
...
- setup compiler args in appropriate fun
- remove redundant
2020-02-12 17:29:34 +03:00
Ilya Goncharov
29a55fc47e
[Gradle, JS] Remove redundant testTasks
2020-02-12 17:29:34 +03:00
Ilya Goncharov
300fd9bd07
[Gradle, JS] Extract archiveType property on Configurator level
2020-02-12 17:29:34 +03:00
Ilya Goncharov
cedfb71a1e
[Gradle, JS] Task configuration avoidance with providers
2020-02-12 17:29:33 +03:00
Ilya Goncharov
05b48bbf85
[Gradle, JS] Fix names for js compiler property
2020-02-12 17:29:33 +03:00
Ilya Goncharov
d44aef3f3d
[Gradle, JS] Check existence of input file before run and test
...
#KT-36326 fixed
2020-02-12 17:29:33 +03:00
Ilya Goncharov
bcd2707fe6
[Gradle, JS] Fix naming from jsMode to jsCompilerType
2020-02-12 17:29:33 +03:00
Ilya Goncharov
b30328a766
[Gradle, JS] Fix capilatiozation for gradle attributes
2020-02-12 17:29:33 +03:00
Ilya Goncharov
54e068dee2
[Gradle, JS] Attribute and compiler type is on one enum
2020-02-12 17:29:33 +03:00
Ilya Goncharov
d86384225e
[Gradle, JS] Rename of property for control compiler type
2020-02-12 17:29:33 +03:00
Ilya Goncharov
8de4966e53
[Gradle, JS] Fix name of workers file
2020-02-12 17:29:33 +03:00
Ilya Goncharov
f342508a6e
[Gradle, JS] Fix ambiguity with target name
2020-02-12 17:29:32 +03:00
Ilya Goncharov
6793fb285e
[Gradle, JS] Prepare for review
2020-02-12 17:29:32 +03:00
Ilya Goncharov
85919ed0fc
[Gradle, JS] Fix manifest destination
2020-02-12 17:29:32 +03:00
Ilya Goncharov
433053e479
[Gradle, JS] Fix manifest destination
2020-02-12 17:29:32 +03:00
Ilya Goncharov
a4ed71075d
[Gradle, JS] Fix test for lib and app
2020-02-12 17:29:32 +03:00
Ilya Goncharov
43903e5d19
[Gradle, JS] Fix test incremental compilation (only for legacy)
2020-02-12 17:29:32 +03:00
Ilya Goncharov
c6935a57a4
[Gradle, JS] Fix test for old kotlin2js plugin
2020-02-12 17:29:32 +03:00
Ilya Goncharov
d69266de50
[Gradle, JS] Fix parallel tasks test
2020-02-12 17:29:32 +03:00
Ilya Goncharov
5ff07baf53
[Gradle, JS] Fix parallel tasks test
2020-02-12 17:29:31 +03:00
Ilya Goncharov
40f5663a57
[Gradle, JS] Fix associated compilations test and adopt to js ir
2020-02-12 17:29:31 +03:00
Ilya Goncharov
6698dc7597
[Gradle, JS] new-mpp-with-dce is actual only for legacy
2020-02-12 17:29:31 +03:00
Ilya Goncharov
57d2939cf9
[Gradle, JS] Fix lower case of target
2020-02-12 17:29:31 +03:00
Ilya Goncharov
d50f520639
[Gradle, JS] Fix WorkersIT tests
2020-02-12 17:29:31 +03:00
Ilya Goncharov
8646f6a098
[Gradle, JS] Commonization setting of js mode
2020-02-12 17:29:31 +03:00