// JVM - error because incompatible modality (ZoneId is abstract)
actual typealias Platform_TimeZone = NSTimeZone
// iOS - works fine
If I make the expected class abstract, then it's the other way round 😞
Any way to work around that without wrapping everything in a new class?
d
Dico
05/20/2019, 7:35 PM
It's kinda annoying that it works like this. You didn't declare any attributes of the type, I don't understand that an abstract type is not a valid representation of it
j
jw
05/20/2019, 7:36 PM
Provided you don't have a constructor in declared in the expect, seems just like a bug