[IR] update testdata: IrInstanceInitializerCall
This commit is contained in:
committed by
teamcityserver
parent
26dd009713
commit
e56787c0b0
@@ -8,14 +8,14 @@ interface TestInterface<T : Any?> {
|
||||
class Test<T0 : Any?> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
class TestNested<T1 : Any?> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ class Test<T0 : Any?> {
|
||||
inner class TestInner<T2 : Any?> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class Test1<T1 : Any?, T2 : Any?> {
|
||||
constructor(x: T1, y: T2) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ class Test1<T1 : Any?, T2 : Any?> {
|
||||
class Test2 {
|
||||
constructor(x: Int, y: String) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ class Test2 {
|
||||
inner class TestInner<Z : Any?> {
|
||||
constructor(z: Z) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ class Test2 {
|
||||
class Test3 {
|
||||
constructor(x: Int, y: String = "") /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ class Test3 {
|
||||
class Test4<T : Any?> {
|
||||
constructor(x: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
data class Test<T : Any?> {
|
||||
constructor(x: T, y: String = "") /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@ var test2: Int
|
||||
class Host {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ class Host {
|
||||
class InPrimaryCtor<T : Any?> {
|
||||
constructor(testInPrimaryCtor1: T, testInPrimaryCtor2: Int = 42) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ interface IBase<T : Any?> {
|
||||
class Test<TT : Any?> : IBase<TT> {
|
||||
constructor(impl: IBase<TT>) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ fun String.textExt1(i: Int, j: String) {
|
||||
class Host {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,14 +1,14 @@
|
||||
class Outer<T1 : Any?> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
inner class Inner<T2 : Any?> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ var <T : Any?> T.testExt4: Int
|
||||
class Host<T : Any?> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
class Test1<T : U, U : Any?> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
abstract class Base1<T : Derived1> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ abstract class Base1<T : Derived1> {
|
||||
class Derived1 : Base1<Derived1> {
|
||||
constructor() /* primary */ {
|
||||
super/*Base1*/<Derived1>()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ class Derived1 : Base1<Derived1> {
|
||||
abstract class Base2 {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ abstract class Base2 {
|
||||
class Derived2 : Base2 {
|
||||
constructor() /* primary */ {
|
||||
super/*Base2*/()
|
||||
/* InstanceInitializerCall */
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user