Box primitive types in position of generic receiver
#KT-9469 fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
val <T> T.valProp: T where T : Number, T : Int
|
||||
get() = this
|
||||
|
||||
fun box(): String {
|
||||
0.valProp
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user