Support generic underlying type of inline class
Use upper bound in JVM representation. #KT-32162
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// CHECK_BYTECODE_LISTING
|
||||
// LANGUAGE: -JvmInlineValueClasses, +GenericInlineClassParameter
|
||||
|
||||
inline class ICString<T: String>(val value: T)
|
||||
|
||||
fun box(): String = ICString("OK").value
|
||||
Reference in New Issue
Block a user