Abduqodiri Qurbonzoda
55eb75d237
Remove IGNORE_BACKEND directives from forInCharSeqWithIndexStops.kt
2020-06-01 22:00:37 +03:00
Vitaly
fe047f9b47
[JS BE] mutes tests for JS_IR_ES6, which muted for JS_IR
2020-05-27 00:32:56 +03:00
Mikhail Glukhikh
e7e80be34a
[FIR2IR] Populate overridden symbols even for !isOverride
...
Before this commit we considered !isOverride as a sign that
function / field / accessor has no overridden symbols.
However, it's false for deserialized, because isOverride
is always false there.
This commit fixes 68 BB tests but breaks 25 BB tests (not yet muted)
2020-05-14 13:40:36 +03:00
Mikhail Glukhikh
2308e5bb7c
FIR2IR: in case of use-site generic type use call from original class
2020-02-28 15:29:02 +03:00
Juan Chen
9dd8eda1c9
[FIR]: fix library methods in packages
...
Library methods such as 'listOf' are resolved
to have the package fragments as their parents,
but JVM expects their containing file classes as parents.
This fix generates those file classes and
uses them as parent replacements for such library methods.
2020-02-20 14:24:02 +03:00
Mark Punzalan
3ee344b836
ForLoopsLowering: Fix issue with break/continue in loop over withIndex.
2020-01-31 10:37:03 +01:00
Mark Punzalan
1a2e09e6a5
ForLoopsLowering: Handle Iterable.withIndex() where the type is a
...
bounded type parameter.
TODO: Handle Sequences by extending DefaultIterableHandler.
2019-11-27 10:59:34 +01:00
Mark Punzalan
a54d9482dd
Handle withIndex() on arrays and CharSequences in ForLoopsLowering.
2019-11-20 13:02:21 +01:00
Mark Punzalan
9df2f69f09
[FIR] Disable failing blackbox codegen tests for FIR.
2019-11-19 11:00:09 +03:00
Mark Punzalan
f444702cf3
JVM: Always invoke get()/charAt() in optimized for-loop over
...
CharSequence.withIndex(), even if element variable is unused in
destructuring declaration.
#KT-34779 Fixed
2019-11-08 10:55:09 +03:00
Svyatoslav Kuzmich
aa811dcfb3
[JS IR BE] Add KJS_WITH_FULL_RUNTIME directive to compiler tests
2019-01-24 16:14:40 +03:00
Anton Bannykh
beaf6df8c5
[JS IR BE] support CharSequence and String methods
2018-09-21 18:16:03 +03:00
Anton Bannykh
96355e2732
JS IR: mute codegen box tests automatically
2018-06-09 19:15:38 +03:00
Dmitry Petrov
2399a39414
Provide optimized code generation for for-in-withIndex for CharSequences
...
#KT-5177 In Progress
2018-01-23 10:55:24 +03:00