public expect class PlatformDecimal
public expect value class Decimal(public val impl: PlatformDecimal)
// in iosMain:
@Suppress("CONFLICTING_OVERLOADS")
public actual typealias PlatformDecimal = NSDecimalNumber
public actual value class Decimal(public val impl: NSDecimalNumber) {
If I make a framework out of it, all instances of
Decimal
have type of
id
(I’d expect
NSDecimalNumber
there) in the generated Objective-C header. Is this a known limitation?