Commit Graph

63897 Commits

Author SHA1 Message Date
Kevin Bierhoff 7448761dfd only stub default constructor when compiling against .java source files 2020-04-07 17:48:39 +02:00
Denis Zharkov c83860187c FIR: Add abstract equals/hashCode to ConeKotlinType
Otherwise they are incosistent when being added to sets of constraints
during type inference
2020-04-07 17:54:55 +03:00
Denis Zharkov 65e90743df FIR: Fix hanging inference case with intersection types 2020-04-07 17:54:55 +03:00
Denis Zharkov 81d9cf76f2 FIR: Add java.io.Serializable as supertypes to built-in classes 2020-04-07 17:54:55 +03:00
Denis Zharkov 168c7f306f FIR: Fix ambiguity for invoke candidates on qualifier receiver 2020-04-07 17:54:55 +03:00
Denis Zharkov 4cd93a9fec FIR: Add test for discrepancy in call resolution for qualifiers with old FE
^KT-38031 Open
2020-04-07 17:54:55 +03:00
Mads Ager 03fb49bb38 [JVM_IR] Improve debugging behavior of inline functions
Specifically, this commit improves the stepping behavior of the IR
backend around functions with defaults.

  - Improved line numbers in the default handler itself for better
    stepping when inlined.

  - Improved source information on default arguments

  - Improved test coverage of stepping behavior in old and IR backends.

Improves the stepping behaviour around inline methods with default
arguments. In particular, we now accurately step through the
evaluation of default arguments, but do _not_ spuriously show the exit
from the $default handler.
2020-04-07 16:52:45 +02:00
pyos 516692008f JVM: add tests fixed by the last two commits
One was broken on JVM, the other on JVM_IR.
2020-04-07 15:42:41 +02:00
pyos 829343cf6f JVM: surround captured lambdas with conditional suspension markers 2020-04-07 15:42:41 +02:00
pyos c650c9570f JVM: use conditional suspension point markers 2020-04-07 15:42:41 +02:00
simon.ogorodnik 42a48ef312 [FIR] Improve constraint errors rendering in html dump 2020-04-07 16:24:59 +03:00
simon.ogorodnik 2c8a9bf437 [FIR] Fix nullability rendering for class like types in html dump 2020-04-07 16:24:59 +03:00
simon.ogorodnik bd826f38bc [FIR] Fix specificity comparision for unsigned integers 2020-04-07 16:24:58 +03:00
simon.ogorodnik 851e2dbb68 [FIR] Implement equals & hashCode for candidates 2020-04-07 16:24:58 +03:00
simon.ogorodnik 7d3b2558f0 [FIR] Improve rendering for unsigned literals in html dump 2020-04-07 16:24:58 +03:00
Victor Turansky 79bec82430 KT-34770 JS. Configurable properties. Test 2020-04-07 16:15:02 +03:00
Victor Turansky 103fd093e1 KT-34770 JS. Configurable properties. IR 2020-04-07 16:14:21 +03:00
Victor Turansky 5652d2657d KT-34770 JS. Configurable properties. Old backend 2020-04-07 16:14:21 +03:00
Konstantin Tskhovrebov 608a669da1 Fix dependency for idea-fir module. 2020-04-07 16:09:02 +03:00
Konstantin Tskhovrebov 2f6099feb9 Add KotlinNativeRunConfigurationProducer. 2020-04-07 16:09:02 +03:00
Konstantin Tskhovrebov f451506055 Disable all main run gutters for common module. 2020-04-07 16:09:02 +03:00
Konstantin Tskhovrebov e1a88de314 Add native run tasks data to KotlinTarget. 2020-04-07 16:09:02 +03:00
Dmitry Petrov dae8872aba KT-37779 Treat named value arguments in vararg as arguments with '*' 2020-04-07 15:40:43 +03:00
Jinseong Jeon fa9d79392f [FIR] Handle lateinit local variable properly 2020-04-07 14:06:38 +03:00
Ilya Goncharov 33d4655053 [Gradle, JS] Fix for Gradle 5.4
#KT-38055 fixed
2020-04-07 13:59:37 +03:00
Ilya Goncharov 626e7d14ec [Gradle, JS] Fix once initialization of produceExecutable
#KT-38055 fixed
2020-04-07 13:59:37 +03:00
Ilya Goncharov c3ee2c81ed Revert "[Gradle, JS] Remove hard test"
This reverts commit 50e6f6e0
2020-04-07 13:59:37 +03:00
Ilya Goncharov 57b99bbc0c [Gradle, JS] Allow to create another binaries.executable
#KT-KT-38055 fixed
2020-04-07 13:59:36 +03:00
Ilya Goncharov 6a02e257a0 [Gradle, JS] Make ir binaries as live data
#KT-38058 fixed
2020-04-07 13:59:36 +03:00
Victor Petukhov 6eb2875690 [FIR-TEST] Actualize test added in 661812b255 2020-04-07 13:51:36 +03:00
Igor Chevdar ae906c163d [IR] Added possibility to customize inline functions resolver 2020-04-07 13:25:46 +03:00
Dmitry Gridin b548c5bf93 RemoveRedundantQualifierNameInspection: add regression test
#KT-35898
2020-04-07 15:57:34 +07:00
Victor Petukhov 661812b255 NI: add test for KT-37628 2020-04-07 11:31:29 +03:00
Ilya Gorbunov d115792d9a Move a couple ad-hoc properties to buildSrc/BuildPropertiesExt 2020-04-07 10:54:34 +03:00
Mikhail Bogdanov f966ce2431 Minor. Updated used JDKs in test for different JDKs 2020-04-07 09:43:46 +02:00
Victor Turansky 4d219d1eed KT-31126 JS. Fix super constructor call. Test infra comment
Primary ordinary -> secondary external
2020-04-07 09:30:22 +03:00
Victor Turansky be39151fad KT-31126 JS. Fix super constructor call. Tests
Primary ordinary -> secondary external
2020-04-07 09:30:22 +03:00
Victor Turansky 6859e87be1 KT-31126 JS. Fix super constructor call. Old backend
Primary ordinary -> secondary external
2020-04-07 09:30:22 +03:00
Konstantin Tskhovrebov 2726f7f5ed Fix Klib file check.
#KT-37876
2020-04-07 12:47:54 +07:00
Ilya Matveev f7f7d237e0 [KLIB] Support unpacked klibs with dots in names in ToolingResolve 2020-04-07 12:47:54 +07:00
Abduqodiri Qurbonzoda 508d0edd6d Add the onEach extension function to the Array #KT-28290 2020-04-07 05:34:20 +03:00
Igor Yakovlev 8531c1e9a5 Fixed WordSelectionTest.testDocComment test data 2020-04-07 02:12:32 +03:00
Vyacheslav Gerasimov 1ab23abe93 Build: Write plugin version the same way CI does 2020-04-06 23:52:01 +03:00
Vladimir Dolzhenko 659378f806 Do not use synchronized for fetchAnalysisResultsForElement
Relates to #KT-37467
2020-04-06 19:25:52 +02:00
Dmitry Gridin d4491af96f i18n: update bundles
#KT-37483
2020-04-06 23:17:45 +07:00
Dmitry Gridin 0e45c03211 i18n: update bundle for quickfixes
#KT-37483
2020-04-06 23:17:45 +07:00
Ilya Goncharov b309ff2039 [Gradle, JS] Group sub target tasks with dis classifier group for legacy
#KT-38056 fixed
2020-04-06 18:56:46 +03:00
Ilya Goncharov 53a20017ec [Gradle, JS] Group sub target tasks with dis classifier group
#KT-38056 fixed
2020-04-06 18:55:41 +03:00
Ilya Goncharov 4b903088bf [Gradle, JS] Distribution directory not null
#KT-38051 fixed
2020-04-06 18:40:14 +03:00
Ilya Goncharov cfa542f50b [Gradle, JS] Add outputs for distribution task
#KT-38051 fixed
2020-04-06 18:39:50 +03:00