[IR] update testdata: IrInstanceInitializerCall
This commit is contained in:
committed by
teamcityserver
parent
26dd009713
commit
e56787c0b0
+4
-4
@@ -3,7 +3,7 @@ fun WithCompanion.test() {
|
||||
local class <no name provided> : WithCompanion {
|
||||
constructor() /* primary */ {
|
||||
super/*WithCompanion*/(a = Companion)
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ fun WithCompanion.test() {
|
||||
local class <no name provided> : WithCompanion {
|
||||
constructor() /* primary */ {
|
||||
super/*WithCompanion*/(a = Companion.foo())
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -28,14 +28,14 @@ fun WithCompanion.test() {
|
||||
open class WithCompanion {
|
||||
constructor(a: Companion) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
companion object Companion {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user