pyos
495cefe65d
Dump bytecode in a test that shows the effect of recompiling inline funs
2020-04-08 07:04:16 +02:00
pyos
f765963056
Split JVM backend diagnostics test into IR and non-IR versions
...
The IR backend no longer generates redundant INLINE_CALL_CYCLEs.
2020-04-08 07:04:16 +02:00
pyos
82899e6243
JVM_IR: reuse MethodNodes for inline functions in same module
...
This fixes the weird cases when a class gets overwritten by an imperfect
copy, reduces the number of classes in the output if an inline function
contains an inline call that causes it to have regenerated anonymous
objects, and makes inlining of same module functions a bit faster in
general. On the other hand, this may increase memory footprint a bit
because classes cannot be flushed to the output jar, as the inliner
would not be able to locate classes for anonymous objects if they have
already been unloaded from memory.
2020-04-08 07:04:16 +02:00
Alexander Gorshenev
97be5617ca
Renamed -Xklib-mpp to -Xexpect-actual-linker to reduce user confusion
2020-04-08 05:23:12 +03:00
Mikhail Zarechenskiy
86fd4da567
[UAST] Fix mapping types containing type aliases
...
#KT-27935 Fixed
2020-04-08 01:25:14 +03:00
Mikhail Zarechenskiy
73e1ddc505
Allow Result as a return type if one enabled inline classes explicitly
...
#KT-38042 Fixed
2020-04-08 01:25:13 +03:00
Valentin Kipyatkov
1ffdc11d31
Suggest signature refactoring also for members of expect class
2020-04-07 22:17:05 +03:00
Valentin Kipyatkov
a5dc2b5b2a
Suggested change signature: do not ask to enter values for optional parameters
...
#KT-37797 Fixed
2020-04-07 22:17:05 +03:00
Valentin Kipyatkov
f4a245e12a
Dropped hack in initialization of KotlinParameterInfo which is not needed anymore
2020-04-07 22:17:05 +03:00
Valentin Kipyatkov
4f19dd5fe1
Code refactoring
2020-04-07 22:17:05 +03:00
Valentin Kipyatkov
e49ca20d17
Code improvements
2020-04-07 22:17:05 +03:00
Valentin Kipyatkov
88cd129549
Fixed other parameter references broken in new parameter values in conventional Change Signature
2020-04-07 22:17:04 +03:00
Valentin Kipyatkov
0adfa0357a
Converted all test method bodies into blocks - otherwise IDE is too slow
2020-04-07 22:17:04 +03:00
Valentin Kipyatkov
c76571413b
Added test for new parameter value referencing another parameter
2020-04-07 22:17:04 +03:00
Svyatoslav Kuzmich
3ec13d5bd6
[JS IR BE] Support companion objects in external interfaces
...
These objects are referenced but value is not actually used.
Replace access to these references with null literals.
2020-04-07 21:19:14 +03:00
Svyatoslav Kuzmich
f4b94ccbc8
Update klib metadata version to 1.4.0
2020-04-07 21:19:14 +03:00
Vladimir Dolzhenko
aed4f9909d
KotlinCopyPasteReferenceProcessor clean up
...
Relates to #KT-37971
2020-04-07 19:55:25 +02:00
Vladimir Dolzhenko
7327028052
KotlinCopyPasteReferenceProcessor clean up
...
Relates to #KT-37971
2020-04-07 19:52:00 +02:00
Kirill Shmakov
5460327c8d
Fix tests for KT-38079
2020-04-07 20:49:54 +03:00
Kirill Shmakov
2b8b5af18b
Adapt exception line numbering for file link (KT-38079)
...
#KT-38079 Fixed
2020-04-07 19:48:03 +03:00
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