Do not exclude codegen/box/script directory from JVM ABI tests

This commit is contained in:
vladislav.grechko
2024-02-21 17:13:35 +01:00
committed by Space Team
parent 9bbf15c14a
commit 224a4e1e3c
4 changed files with 104 additions and 2 deletions
@@ -0,0 +1,43 @@
MODULE lib
CLASS Script.class
CLASS METADATA
K1
<init>([Ljava/lang/String;)V
K2
---
Property: class.metadata.superTypes
K1
[kotlin/script/templates/standard/ScriptTemplateWithArgs]
K2
[]
Property: class.metadata.contextReceiverTypes
K1
[]
K2
[kotlin/script/templates/standard/ScriptTemplateWithArgs]
MODULE main
CLASS TestKt.class
Annotation: class.invisibleAnnotations
K1
@Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP
test.kt
Kotlin
*S Kotlin
*F
+ 1 test.kt
TestKt
+ 2 ArrayIntrinsics.kt
kotlin/ArrayIntrinsicsKt
*L
1#1,29:1
26#2:30
*S KotlinDebug
*F
+ 1 test.kt
TestKt
*L
22#1:30
*E
} )
K2
---
@@ -3,6 +3,7 @@
// IGNORE_LIGHT_ANALYSIS
// !LANGUAGE: -SkipStandaloneScriptsInSourceRoots
// WITH_STDLIB
// JVM_ABI_K1_K2_DIFF: KT-63963, KT-63960, KT-62465
// Although this test works in K1 just fine, it is named with the suffix K2 to show that the demonstrated method is the only one
// available so far to call a script from another module.