[IR] update testdata: support for IrDelegatingConstructorCall
This commit is contained in:
committed by
teamcityserver
parent
84d6e43590
commit
b518c19b38
Vendored
+5
-2
@@ -1,6 +1,6 @@
|
||||
abstract class Base {
|
||||
constructor(lambda: Function0<Any>) /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Any*/()
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
@@ -16,7 +16,10 @@ abstract class Base {
|
||||
|
||||
object Test : Base {
|
||||
private constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
super/*Base*/(lambda = local fun <anonymous>(): Any {
|
||||
return Test
|
||||
}
|
||||
)
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user