Valentin Kipyatkov
fd7331bbc0
Refactoring
2020-02-13 07:40:35 +02:00
Valentin Kipyatkov
8008185b77
Renamed mistyping in function name
2020-02-13 07:40:34 +02:00
Valentin Kipyatkov
8f7648c60a
Reordered methods
2020-02-13 07:40:34 +02:00
Valentin Kipyatkov
ff39880677
Refactoring - converting extensions to normal functions
2020-02-13 07:40:34 +02:00
Valentin Kipyatkov
b1cd56ba91
We must check super property usages also when analyzing inflow
2020-02-13 07:40:34 +02:00
Valentin Kipyatkov
612fd6d1bf
Refactoring to split big file
2020-02-13 07:40:34 +02:00
Valentin Kipyatkov
ff516cac73
Do not include overriders when analyzing parameter usages unless invoked on parameter
2020-02-13 07:40:33 +02:00
Valentin Kipyatkov
e76eaa4b5b
Refactored code to avoid duplication
2020-02-13 07:40:33 +02:00
Valentin Kipyatkov
b406d85ca3
Analyze Data Flow to Here: Java super-methods supported
2020-02-13 07:40:33 +02:00
Valentin Kipyatkov
cfa1d91aa4
Analyze Data Flow to Here to work with virtual methods
2020-02-13 07:40:33 +02:00
Valentin Kipyatkov
c34286a327
More usable rendering of usage context in Analyze Data Flow to/from Here
2020-02-13 07:40:32 +02:00
Abduqodiri Qurbonzoda
ed7b8e9b85
Scan functions for Sequences and Iterable #KT-7657
2020-02-13 04:01:47 +03:00
Vladimir Dolzhenko
0d7e641736
Extra dependencies after performance tests modularization
2020-02-12 22:37:25 +01:00
Mark Punzalan
89cf32eccc
Clarify comments about KT-36625 that it is pending design decision.
2020-02-12 23:38:12 +03:00
Mark Punzalan
ba606147c9
[JVM IR] Maintain KT-36625 bug compatibility between non-IR and IR
...
backends by removing IMPLICIT_NOTNULL casts from IrStringConcatenation
arguments.
Also fixed an issue where IrStringConcatenation can be lowered into
a null String instead of a literal "null" String if the lone argument
was a platform type String or String with enhanced nullability and the
value was null (e.g., "${FromJava.nullPlatformString()}").
2020-02-12 22:57:15 +03:00
Vladimir Dolzhenko
18a3d7ee08
Moved extra files after performance tests modularization
2020-02-12 20:56:19 +01:00
Vladimir Dolzhenko
60f17c3adf
Modularization of performance tests
2020-02-12 20:06:01 +01:00
Pavel Kirpichenkov
572dee6835
Revert "Only create descriptors for candidates with lambda args"
...
This reverts commits:
349d07ad43
2249c223fe
Revert due to differences in test data with NI enabled
^KT-36247 Open
2020-02-12 20:52:30 +03:00
Anton Bannykh
52ae63f191
IR: decommonize AbstractSuspendFunctionsLowering.kt
...
Some issues emerged while building kotlinx.coroutines
Reverted changes to the common lowering.
TODO: fix after M1
2020-02-12 20:19:10 +03:00
Alexander Udalov
d5987fd7f3
Minor, move wrongAnnotationArgumentInCtor.kt to CLI tests
...
The fact that this was a codegen box test was probably an abuse of the
testing infrastructure. It was never meant to pass, since it checks
presence of an error, and diagnostic tests aren't enough since they
might not check the full compiler execution.
2020-02-12 17:36:08 +01:00
Alexander Udalov
9c9e13d93e
Minor, move obsolete test to oldLanguageVersions
...
Ignore this directory in JVM IR boxAgainstJava tests (similarly to box
tests) so that we can ignore the fact that this test doesn't pass in
JVM_IR, since it shouldn't.
2020-02-12 17:36:08 +01:00
Alexander Udalov
0df455cb52
Minor, remove duplicate test
...
There's already a test that checks exactly this behavior at
box/oldLanguageVersions/platformTypes/primitives/equalsNull_lv11.kt.
2020-02-12 17:36:08 +01: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
Igor Yakovlev
9e05c702ab
Fix KtDotQualifiedExpressionElementType stub building for complex qualified elements
...
Fixed #EA212081
2020-02-12 18:59:35 +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
Pavel Kirpichenkov
95a8060946
[NI] Don't report uninferred type parameter error on special functions
...
Type parameters can't be specified explicitly for special constructions.
Reporting this error does not help fixing the cause of it and needlessly
reveals implementation details.
^KT-36342 Fixed
2020-02-12 17:33:42 +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