[IR] update testdata: support for IrDelegatingConstructorCall
This commit is contained in:
committed by
teamcityserver
parent
84d6e43590
commit
b518c19b38
+1
-1
@@ -25,7 +25,7 @@ interface IFoo {
|
||||
|
||||
class DFoo : IFoo {
|
||||
constructor(d: IFoo) /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ annotation class A : Annotation {
|
||||
|
||||
class C {
|
||||
constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
+4
-4
@@ -12,7 +12,7 @@ annotation class TestAnn : Annotation {
|
||||
@TestAnn(x = "class")
|
||||
class TestClass {
|
||||
constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
@@ -32,7 +32,7 @@ interface TestInterface {
|
||||
@TestAnn(x = "object")
|
||||
object TestObject {
|
||||
private constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
@@ -44,7 +44,7 @@ object TestObject {
|
||||
|
||||
class Host {
|
||||
constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
@@ -52,7 +52,7 @@ class Host {
|
||||
@TestAnn(x = "companion")
|
||||
companion object TestCompanion {
|
||||
private constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -12,14 +12,14 @@ annotation class TestAnn : Annotation {
|
||||
class TestClass {
|
||||
@TestAnn(x = 1)
|
||||
constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
@TestAnn(x = 2)
|
||||
constructor(x: Int) {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
this/*TestClass*/()
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ annotation class A : Annotation {
|
||||
|
||||
class Cell {
|
||||
constructor(value: Int) /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ annotation class Ann : Annotation {
|
||||
|
||||
class Test {
|
||||
constructor(x: Int) /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ annotation class A : Annotation {
|
||||
|
||||
class C {
|
||||
constructor(x: Int, y: Int) /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -12,7 +12,7 @@ var p: Int
|
||||
|
||||
class C {
|
||||
constructor(p: Int) /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -7,7 +7,7 @@ annotation class Ann : Annotation {
|
||||
|
||||
class A {
|
||||
constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ fun testFun(x: Int) {
|
||||
|
||||
class TestClassConstructor1 {
|
||||
constructor(x: Int) /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user