[IR] update testdata: better support for IrConstructorCall
This commit is contained in:
committed by
teamcityserver
parent
197f5ca885
commit
2a19dc32f2
Vendored
+3
-3
@@ -40,7 +40,7 @@ class Outer {
|
||||
|
||||
fun testConstructor(): Any {
|
||||
return use(fn = local fun <init>(p0: Int): C {
|
||||
return TODO("IrConstructorCall")
|
||||
return C(xs = [p0])
|
||||
}
|
||||
)
|
||||
}
|
||||
@@ -48,7 +48,7 @@ fun testConstructor(): Any {
|
||||
fun testInnerClassConstructor(outer: Outer): Any {
|
||||
return use(fn = { // BLOCK
|
||||
local fun Outer.<init>(p0: Int): Inner {
|
||||
return TODO("IrConstructorCall")
|
||||
return receiver.Inner(xs = [p0])
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ fun testInnerClassConstructor(outer: Outer): Any {
|
||||
fun testInnerClassConstructorCapturingOuter(): Any {
|
||||
return use(fn = { // BLOCK
|
||||
local fun Outer.<init>(p0: Int): Inner {
|
||||
return TODO("IrConstructorCall")
|
||||
return receiver.Inner(xs = [p0])
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user