https://kotlinlang.org logo
#ios
Title
# ios
r

Rainer Schlonvoigt

05/18/2020, 8:51 AM
Does somebody know why these lines crash in Xcode 11.4.1?
Copy code
let thisIsAKotlinInt: Any = KotlinInt(int: 3)
XCTAssertEqual(thisIsAKotlinInt as? KotlinInt, KotlinInt(int: 3))
n

Nikolay Kasyanov

05/18/2020, 8:57 AM
Kotlin < 1.3.70?
r

Rainer Schlonvoigt

05/18/2020, 9:15 AM
yes, let me quickly check what happens when switching
😱 that solved it
you're the best!!!
thank you!
n

Nikolay Kasyanov

05/18/2020, 9:23 AM