[K/N] Rework object and enum classes initialization
Now it works with common logic for all static scope not with custom one.
This commit is contained in:
committed by
Space Team
parent
7006eb938d
commit
d3adfec2fb
+2
-2
@@ -24,12 +24,12 @@ func testKotlin2Objc() throws {
|
||||
|
||||
func testCompanionObject() throws {
|
||||
let trace = Foo.companion.trace
|
||||
try assertTrue(trace[6].contains("objc2kotlin_kclass:Foo#companion"))
|
||||
try assertTrue(trace[8].contains("objc2kotlin_kclass:Foo#companion"))
|
||||
}
|
||||
|
||||
func testStandaloneObject() throws {
|
||||
let trace = Object.shared.trace
|
||||
try assertTrue(trace[6].contains("objc2kotlin_kclass:Object#shared"))
|
||||
try assertTrue(trace[8].contains("objc2kotlin_kclass:Object#shared"))
|
||||
}
|
||||
|
||||
func testEnumEntry() throws {
|
||||
|
||||
Reference in New Issue
Block a user