IR text tests: Unmute tests that have main function
Don't use `main` function in these tests, because `main` function has specific mangling rules in JVM. Use other function name. ^KT-57755
This commit is contained in:
committed by
Space Team
parent
1759b9e3c4
commit
af247c3344
@@ -1,22 +1,22 @@
|
||||
FILE fqName:<root> fileName:/localCompanion.kt
|
||||
FUN name:main visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
FUN name:runMe visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:Foo modality:FINAL visibility:local superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.main.Foo
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.main.Foo [primary]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.runMe.Foo
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.runMe.Foo [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Foo modality:FINAL visibility:local superTypes:[kotlin.Any]'
|
||||
CLASS OBJECT name:Companion modality:FINAL visibility:local [companion] superTypes:[kotlin.Any]
|
||||
annotations:
|
||||
Suppress(names = ["WRONG_MODIFIER_CONTAINING_DECLARATION"])
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.main.Foo.Companion
|
||||
CONSTRUCTOR visibility:private <> () returnType:<root>.main.Foo.Companion [primary]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.runMe.Foo.Companion
|
||||
CONSTRUCTOR visibility:private <> () returnType:<root>.runMe.Foo.Companion [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:Companion modality:FINAL visibility:local [companion] superTypes:[kotlin.Any]'
|
||||
FUN name:bar visibility:public modality:FINAL <> ($this:<root>.main.Foo.Companion) returnType:kotlin.Unit
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.main.Foo.Companion
|
||||
FUN name:bar visibility:public modality:FINAL <> ($this:<root>.runMe.Foo.Companion) returnType:kotlin.Unit
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.runMe.Foo.Companion
|
||||
BLOCK_BODY
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
@@ -44,5 +44,5 @@ FILE fqName:<root> fileName:/localCompanion.kt
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CALL 'public final fun bar (): kotlin.Unit declared in <root>.main.Foo.Companion' type=kotlin.Unit origin=null
|
||||
$this: GET_OBJECT 'CLASS OBJECT name:Companion modality:FINAL visibility:local [companion] superTypes:[kotlin.Any]' type=<root>.main.Foo.Companion
|
||||
CALL 'public final fun bar (): kotlin.Unit declared in <root>.runMe.Foo.Companion' type=kotlin.Unit origin=null
|
||||
$this: GET_OBJECT 'CLASS OBJECT name:Companion modality:FINAL visibility:local [companion] superTypes:[kotlin.Any]' type=<root>.runMe.Foo.Companion
|
||||
|
||||
Reference in New Issue
Block a user