[IR] update testdata: IrInstanceInitializerCall
This commit is contained in:
committed by
teamcityserver
parent
26dd009713
commit
e56787c0b0
Vendored
+1
-1
@@ -4,7 +4,7 @@ fun use(f: @ExtensionFunctionType Function2<C, Int, Unit>) {
|
||||
class C {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -3,14 +3,14 @@ package test
|
||||
class Foo<T : Any?> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
inner class Inner<P : Any?> {
|
||||
constructor(a: T, b: P) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@ fun interface IFoo2 : IFoo {
|
||||
object A {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ object A {
|
||||
object B {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+3
-3
@@ -5,7 +5,7 @@ fun use(fn: Function1<Int, Any>): Any {
|
||||
class C {
|
||||
constructor(vararg xs: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -14,14 +14,14 @@ class C {
|
||||
class Outer {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
constructor(vararg xs: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ fun varargs(vararg xs: String): Int {
|
||||
class C {
|
||||
constructor(x: String = "") /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
class A<T : Any?> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test
|
||||
object Foo {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ fun foo(x: String = ""): String {
|
||||
class C {
|
||||
constructor(x: String = "") /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ fun foo4(i: Int = 42) {
|
||||
class C {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
object Host {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@ fun use2(fn: Function1<Int, Unit>) {
|
||||
open class A {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ open class A {
|
||||
object Obj : A {
|
||||
private constructor() /* primary */ {
|
||||
super/*A*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ fun fnWithVarargs(vararg xs: Int): String {
|
||||
object Host {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@ fun use(fn: Function1<Int, Unit>) {
|
||||
class Host {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user