[K/N] Call class static initializer in constructors
^KT-59058
This commit is contained in:
committed by
Space Team
parent
c40bf720d9
commit
12455451fc
+2
-2
@@ -23,8 +23,8 @@ func testKotlin2Objc() throws {
|
||||
}
|
||||
|
||||
func testCompanionObject() throws {
|
||||
let trace = Foo.companion.trace
|
||||
try assertTrue(trace[8].contains("objc2kotlin_kclass:Foo#companion"))
|
||||
let trace = WithCompanion.companion.trace
|
||||
try assertTrue(trace[8].contains("objc2kotlin_kclass:WithCompanion#companion"))
|
||||
}
|
||||
|
||||
func testStandaloneObject() throws {
|
||||
|
||||
Reference in New Issue
Block a user