FIR2IR: change delegate field type to initializer type

This commit is contained in:
Mikhail Glukhikh
2021-12-03 14:11:40 +03:00
parent 49bb2a578e
commit a919351d07
10 changed files with 40 additions and 35 deletions
@@ -58,7 +58,7 @@ class TestJFoo : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /* final field */ val <$$delegate_0>: IFoo = JFoo()
local /* final field */ val <$$delegate_0>: JFoo = JFoo()
}
@@ -73,7 +73,7 @@ class TestK1 : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /* final field */ val <$$delegate_0>: IFoo = K1()
local /* final field */ val <$$delegate_0>: K1 = K1()
}
@@ -88,7 +88,7 @@ class TestK2 : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /* final field */ val <$$delegate_0>: IFoo = K2()
local /* final field */ val <$$delegate_0>: K2 = K2()
}
@@ -103,7 +103,7 @@ class TestK3 : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /* final field */ val <$$delegate_0>: IFoo = K3()
local /* final field */ val <$$delegate_0>: K3 = K3()
}
@@ -118,6 +118,6 @@ class TestK4 : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /* final field */ val <$$delegate_0>: IFoo = K4()
local /* final field */ val <$$delegate_0>: K4 = K4()
}