Ivan Kylchik
c7435ba760
Replace all occurrences of WITH_RUNTIME with WITH_STDLIB
...
We are going to deprecate `WITH_RUNTIME` directive. The main reason
behind this change is that `WITH_STDLIB` directive better describes
its meaning, specifically it will add kotlin stdlib to test's classpath.
2021-11-17 15:26:38 +03:00
Alexander Udalov
e0363788f4
Remove some remaining tests on old coroutines
2021-01-13 19:16:31 +01:00
Alexander Udalov
9adc1a6e9b
JVM IR: generate 'main' wrappers as non-final
...
To replicate bytecode generated by the old backend, and thus simplify
ABI comparison.
2020-11-06 19:27:53 +01:00
Alexander Udalov
500b1cfbd3
JVM IR: fix flags of $default methods in multi-file facades
...
Do not change origin of multifile class bridges to something else
because, as it turns out, there are numerous origin-specific checks in
the codegen that start to behave differently for multifile bridges.
Instead of the method-targeted origin MULTIFILE_BRIDGE, use new class
origin JVM_MULTIFILE_CLASS to detect whether a declaration is a
multifile bridge.
#KT-40198 Fixed
#KT-43145 Fixed
2020-11-06 19:27:52 +01:00
Alexander Udalov
b257b03152
JVM IR: do not generate JvmName on multifile parts
...
#KT-36970 Fixed
2020-10-13 16:40:52 +02:00
Alexander Udalov
b8d16f3d46
Add EnclosingMethod information to bytecode listing tests
2020-09-02 16:46:05 +02:00
Dmitry Petrov
43fcb2330e
JVM_IR: fix source file name for mutlifile class facades
2020-07-27 19:13:37 +03:00
Dmitry Petrov
89a0b3e944
Check class source in bytecode listing tests
2020-07-27 19:13:37 +03:00
Dmitry Petrov
2e31f95554
Update testData
2020-07-20 20:04:32 +03:00
Alexander Udalov
b94a4d9fc3
Render more information on inner classes in bytecode listing tests
2020-06-29 17:33:39 +02:00
Dmitry Petrov
4739adb6dc
KT-36992 Do not generate annotations on synthetic accessors
...
Also, do not generate nullability annotations on synthetic methods.
2020-06-17 23:54:51 +03:00
Ilmir Usmanov
fd70b10b17
JVM_IR: Generate suspend fun main wrapper as class instead of reference
...
This way, there is no getName, getOwner and getSignature generated.
#KT-37404: Open
2020-03-11 15:34:38 +01:00
Mark Punzalan
b782e8f0f0
Add IR equivalent of AbstractBytecodeListingTest and muted failures.
2020-02-13 23:44:53 +03:00
Ilya Gorbunov
9f8e3dad33
Add coroutines-compat jar dependency to those tests that require it
...
#KT-36083
2020-01-29 09:12:40 +03:00
Denis Zharkov
fc3c4ad883
Support parameterless and suspend main functions in multifile classes
...
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
1cc0c12f87
Add language feature for extended main convention
...
- suspend
- parameterless
#KT-17679 Fixed
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00