Migrate header to expect in libraries projects
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package foo
|
||||
|
||||
header class PlatformClass {
|
||||
expect class PlatformClass {
|
||||
val value: String
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package foo
|
||||
|
||||
header class PlatformTest {
|
||||
expect class PlatformTest {
|
||||
val value: PlatformClass
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package org.jetbrains
|
||||
|
||||
header fun doMain()
|
||||
expect fun doMain()
|
||||
|
||||
fun getGreeting() : String {
|
||||
return "Hello, World!"
|
||||
|
||||
Reference in New Issue
Block a user