[test] Drop unnecessary WITH_STDLIB in an irText test
This commit is contained in:
committed by
Space Team
parent
4468167a64
commit
b5793222d8
+8
-6
@@ -1,28 +1,30 @@
|
|||||||
FILE fqName:<root> fileName:/tryCatch.kt
|
FILE fqName:<root> fileName:/tryCatch.kt
|
||||||
|
FUN name:println visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||||
|
BLOCK_BODY
|
||||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||||
BLOCK_BODY
|
BLOCK_BODY
|
||||||
TRY type=kotlin.Unit
|
TRY type=kotlin.Unit
|
||||||
try: BLOCK type=kotlin.Unit origin=null
|
try: BLOCK type=kotlin.Unit origin=null
|
||||||
CALL 'public final fun println (): kotlin.Unit declared in kotlin.io' type=kotlin.Unit origin=null
|
CALL 'public final fun println (): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
|
||||||
CATCH parameter=val e: kotlin.Throwable declared in <root>.test1
|
CATCH parameter=val e: kotlin.Throwable declared in <root>.test1
|
||||||
VAR CATCH_PARAMETER name:e type:kotlin.Throwable [val]
|
VAR CATCH_PARAMETER name:e type:kotlin.Throwable [val]
|
||||||
BLOCK type=kotlin.Unit origin=null
|
BLOCK type=kotlin.Unit origin=null
|
||||||
CALL 'public final fun println (): kotlin.Unit declared in kotlin.io' type=kotlin.Unit origin=null
|
CALL 'public final fun println (): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
|
||||||
finally: BLOCK type=kotlin.Unit origin=null
|
finally: BLOCK type=kotlin.Unit origin=null
|
||||||
CALL 'public final fun println (): kotlin.Unit declared in kotlin.io' type=kotlin.Unit origin=null
|
CALL 'public final fun println (): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
|
||||||
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Int
|
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Int
|
||||||
BLOCK_BODY
|
BLOCK_BODY
|
||||||
RETURN type=kotlin.Nothing from='public final fun test2 (): kotlin.Int declared in <root>'
|
RETURN type=kotlin.Nothing from='public final fun test2 (): kotlin.Int declared in <root>'
|
||||||
TRY type=kotlin.Int
|
TRY type=kotlin.Int
|
||||||
try: BLOCK type=kotlin.Int origin=null
|
try: BLOCK type=kotlin.Int origin=null
|
||||||
CALL 'public final fun println (): kotlin.Unit declared in kotlin.io' type=kotlin.Unit origin=null
|
CALL 'public final fun println (): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
|
||||||
CONST Int type=kotlin.Int value=42
|
CONST Int type=kotlin.Int value=42
|
||||||
CATCH parameter=val e: kotlin.Throwable declared in <root>.test2
|
CATCH parameter=val e: kotlin.Throwable declared in <root>.test2
|
||||||
VAR CATCH_PARAMETER name:e type:kotlin.Throwable [val]
|
VAR CATCH_PARAMETER name:e type:kotlin.Throwable [val]
|
||||||
BLOCK type=kotlin.Int origin=null
|
BLOCK type=kotlin.Int origin=null
|
||||||
CALL 'public final fun println (): kotlin.Unit declared in kotlin.io' type=kotlin.Unit origin=null
|
CALL 'public final fun println (): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
|
||||||
CONST Int type=kotlin.Int value=24
|
CONST Int type=kotlin.Int value=24
|
||||||
finally: BLOCK type=kotlin.Unit origin=null
|
finally: BLOCK type=kotlin.Unit origin=null
|
||||||
CALL 'public final fun println (): kotlin.Unit declared in kotlin.io' type=kotlin.Unit origin=null
|
CALL 'public final fun println (): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
|
||||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||||
CONST Int type=kotlin.Int value=555
|
CONST Int type=kotlin.Int value=555
|
||||||
|
|||||||
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
// FIR_IDENTICAL
|
// FIR_IDENTICAL
|
||||||
// WITH_STDLIB
|
|
||||||
|
fun println() {}
|
||||||
|
|
||||||
fun test1() {
|
fun test1() {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
fun println() {
|
||||||
|
}
|
||||||
|
|
||||||
fun test1() {
|
fun test1() {
|
||||||
try { // BLOCK
|
try { // BLOCK
|
||||||
println()
|
println()
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
// CHECK:
|
||||||
|
// Mangled name: #println(){}
|
||||||
|
// Public signature: /println|917930009141132257[0]
|
||||||
|
// Public signature debug description: println(){}
|
||||||
|
fun println(): Unit
|
||||||
|
|
||||||
// CHECK:
|
// CHECK:
|
||||||
// Mangled name: #test1(){}
|
// Mangled name: #test1(){}
|
||||||
// Public signature: /test1|4297044443957252634[0]
|
// Public signature: /test1|4297044443957252634[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user