Rename Kotlin/Native modules for uniformity
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
expect class Planet(name: String, diameter: Double) {
|
||||
val name: String
|
||||
val diameter: Double
|
||||
}
|
||||
|
||||
expect val intProperty: Int
|
||||
expect val Int.intProperty: Int
|
||||
expect val Short.intProperty: Int
|
||||
expect val Long.intProperty: Int
|
||||
expect val String.intProperty: Int
|
||||
expect val Planet.intProperty: Int
|
||||
|
||||
expect fun intFunction(): Int
|
||||
expect fun Int.intFunction(): Int
|
||||
expect fun Short.intFunction(): Int
|
||||
expect fun Long.intFunction(): Int
|
||||
expect fun String.intFunction(): Int
|
||||
expect fun Planet.intFunction(): Int
|
||||
|
||||
expect val <T> T.propertyWithTypeParameter1: Int
|
||||
expect val <T : Any?> T.propertyWithTypeParameter2: Int
|
||||
expect val <T : CharSequence> T.propertyWithTypeParameter4: Int
|
||||
|
||||
expect fun <T> T.functionWithTypeParameter1()
|
||||
Reference in New Issue
Block a user