vladislav.grechko
29eb1c7a63
Do not add nullability annotations to the methods of anonymous classes
...
Nullability annotations are useless for the methods of anonymous classes
due to their restricted scope.
^KT-62044: Fixed
2023-10-10 10:34:33 +00:00
Pavel Kunyavskiy
733ca5a358
[K/N] Unmute tests already working on native
...
Also, add issue references for some tests
2023-06-06 14:29:21 +00:00
Ivan Kylchik
b812a6c6f5
Ignore tests that are currently not working with IR inliner
2023-03-14 20:47:42 +00:00
Svyatoslav Kuzmich
a99ea1d3ce
[Wasm] Support enumValues and enumValueOf functions
...
^KT-57276 Fixed
Merge-request: KT-MR-9169
Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com >
2023-03-13 14:13:31 +00:00
xiaozihan.larryxiao
64d40aa285
KT-55398 Add test case
...
Add KT-55398 test case into boxInline/reified
2022-12-23 01:15:18 +00:00
Dmitriy Novozhilov
6b343515e1
[Test] Save IR bytecode dumps from BytecodeListingHandler to .ir.txt file instead of _ir.txt
...
This is needed to keep consistency with other dumps and to allow
test helper plugin to recognize those dumps
2022-12-01 07:29:37 +00:00
vladislav.grechko
70c2f2b86f
Support specifying different bytecode listings for FIR and old frontend
2022-10-21 12:57:11 +00:00
Igor Yakovlev
38dd68f1f4
[WASM] Enable passing tests
2022-09-15 16:27:46 +00:00
Steven Schäfer
2acfb3a41f
JVM IR: Avoid direct lambda invokes in inline tests
2022-07-14 23:24:18 +02:00
Zalim Bashorov
76806eba8a
[Wasm] Mute failing tests in boxInline
2022-05-05 21:03:38 +00:00
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
pyos
a15a5aa429
JVM_IR: generate instance fields even when reification is needed
...
The inliner supports that, we just need to generate the reification
markers on GETFIELD to instance fields.
2021-08-23 14:27:51 +02:00
pyos
07cb3a5ff8
JVM: do not reify methods of objects in lambdas
...
All type parameters used in them are not from the inline function
anyway.
2021-07-14 10:11:05 +02:00
Dmitriy Novozhilov
df60e7368a
[Test] Fix syntax errors in few boxInline tests
2021-05-19 00:52:24 +03:00
pyos
3fc2cc410c
JVM_IR: propagate reified type parameter usages from inline lambdas
...
...to whichever class they are inlined into, not the class they are
declared in (which is not the same if the lambda is crossinline).
#KT-46584 Fixed
2021-05-12 15:09:35 +03:00
Mikhael Bogdanov
84e67da2af
Mute test on JDK 6
2021-04-30 18:24:10 +02:00
Mikhael Bogdanov
95d95f9a9b
Put reification markers came from super object signature
...
#KT-44770 Fixed
#KT-30696 Open
2021-04-30 17:34:16 +02:00
Alexander Udalov
21e9bd7ea2
Add regression tests for obsolete issues
...
#KT-9304
#KT-14961
#KT-16549
#KT-21080
#KT-28234
#KT-30102
#KT-31994
#KT-34291
#KT-38099
#KT-41174
#KT-44622
#KT-44701
#KT-44781
#KT-44849
#KT-44978
#KT-45081
#KT-45286
#KT-45383
#KT-45444
#KT-45907
2021-04-20 21:24:29 +02:00
Dmitriy Novozhilov
606ae45f5f
[Test] Replace remaining KOTLIN_CONFIGURATION_FLAGS directives with specific ones
2021-02-10 13:02:06 +03:00
Dmitriy Novozhilov
4bf6e58f2b
[TD] Fix directive order in codegen testdata
2021-02-02 20:37:47 +03:00
Dmitriy Novozhilov
64a300bfcd
[TD] Update testdata according to previous commit
2021-02-02 17:53:52 +03:00
Mikhael Bogdanov
c13f38f6df
Support proper frame maps for enumValues
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
1a044e5af4
Support proper frame maps for enum valueOf
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
16928d6e3f
Don't remove checkcast for reified values
...
#KT-35511 Fixed
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
91717cdcdd
Perform inline checks in IR tests
2021-01-20 15:23:09 +01:00
Igor Chevdar
23d12a717e
[box-tests] Added a test
2020-10-23 14:22:48 +05:00
Pavel Punegov
4d8ca074bc
Ignore test for the full reflection in Native
2020-10-07 12:18:09 +03:00
Alexander Udalov
b8d16f3d46
Add EnclosingMethod information to bytecode listing tests
2020-09-02 16:46:05 +02:00
Alexander Udalov
5e48be3d11
Add a fallback flag -Xno-unified-null-checks for KT-22275
...
#KT-41482 Fixed
2020-08-31 12:43:28 +02:00
Dmitry Petrov
89a0b3e944
Check class source in bytecode listing tests
2020-07-27 19:13:37 +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
2137a4b1e5
JVM, JVM_IR: no nullability annotations on private and synthetic methods
...
NB it looks like it doesn't cover all cases, e.g., some synthetic
methods generated for suspend functions.
2020-06-26 18:51:35 +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 Bogdanov
dec93c8b49
Add ANDROID target
2020-04-14 13:53:22 +02:00
pyos
186302d84e
JVM_IR: restore InnerClasses for objects in lambdas
2020-03-19 15:23:44 +01:00
pyos
d06c87207c
Dump class structure in a test that has an object in a lambda
2020-03-19 15:11:20 +01:00
Zalim Bashorov
179ec41a6b
[JS BEs] Generate tests for whole "codegen/boxInline"
2020-03-12 17:22:33 +03:00
pyos
2f0f4e570f
JVM_IR: do not remap locals in contexts nested inside lambdas
...
The only case where this code is reachable at all is objects in lambdas
that use reified type parameters of the outer inline function. Since the
type parameters are declared outside the inlining root, regenerating the
object is actually pointless, and remapping its captures even more so
(not to mention that the code under the condition uses the captures of
the lambda, not of the method it's currently transforming).
2020-01-22 15:36:09 +01:00
Alexander Udalov
99294cfdae
Minor, fix test data
...
TypeCastException was unresolved after an accidental change in
f48bdc1fcb .
2020-01-21 11:26:21 +01:00
Alexander Udalov
f48bdc1fcb
Fix codegen box tests for language version 1.4
...
Since API version 1.4, NullPointerException is thrown for casts of null
to any type instead of TypeCastException.
2020-01-20 19:12:59 +01:00
Mikhael Bogdanov
03c2350e79
Keep original casts during reification to avoid VerifyError
...
#KT-26435 Fixed
2019-12-17 12:41:22 +01:00
Mikhael Bogdanov
ac31e0e8c7
Support default lambda inlining in IR
2019-11-20 12:57:36 +01:00
pyos
d3992826e4
JVM_IR: discard parameter annotations in anonymous object constructors
2019-10-14 14:54:44 +02:00
Alexander Udalov
bd8ea9412d
JVM IR: implement MethodSignatureMapper.mapFunctionName directly
2019-09-16 14:57:20 +02:00
Georgy Bronnikov
7ede26e8f4
IrCompileKotlinAgainstInlineKotlin tests
2019-09-06 09:19:57 +03:00
Steven Schäfer
ac667403ef
(Un)mute and add tests for vararg codegen
2019-08-13 14:24:55 +02:00
Mikhael Bogdanov
47bee6a6c5
JVM_IR. Support reified parameters in anonymous object super constructor call
2019-08-06 14:48:16 +02:00
Mikhael Bogdanov
645736f167
JVM_IR. Support anonymous object/lambda reification
2019-08-06 14:48:16 +02:00
Mikhael Bogdanov
971d36837a
JVM_IR. Don't generate annotations and signature on synthetic methods
2019-08-05 15:00:51 +02:00
Mikhael Bogdanov
007af75e1e
Properly calculate call site file in JVM IR inliner
2019-05-21 07:42:16 +02:00