[Commonizer] Enable Optimistic Number Commonization by default
Initially it was restricted to work with type aliases only KT-48455 see test `test property with aliased number return type` This limitation should be lifted now in order to fix KT-48568 ^KT-48568 Verification Pending
This commit is contained in:
Vendored
+7
@@ -19,3 +19,10 @@ const val property17 = "42"
|
||||
expect val property18: String
|
||||
const val property19: Char = 42.toChar()
|
||||
expect val property20: Char
|
||||
|
||||
// Optimistic Number Commonization: KT-48455, KT-48568
|
||||
// Mismatched const types should be commonized as expect val's
|
||||
expect val property22: Byte
|
||||
expect val property23: Short
|
||||
expect val property24: Int
|
||||
expect val property26: Float
|
||||
Reference in New Issue
Block a user