Skip to content

Commit

Permalink
Fix an error in the integration test with declaration redeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Nov 1, 2024
1 parent 3907966 commit 1077e32
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ package it.mpp0
expect class ExpectedClass {
val platform: String
}

expect class ExpectedClass2 {
val platform: String
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package it.mpp0

actual class ExpectedClass2 {
actual val platform: String = "desktop"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ package it.mpp0
actual class ExpectedClass {
actual val platform: String = "js"
}

actual class ExpectedClass2 {
actual val platform: String = "js"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ actual class ExpectedClass {
fun jvmOnlyFunction() = Unit

}

actual class ExpectedClass2 {
actual val platform: String = "jvm"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import kotlinx.cinterop.CPointer
/**
* Will print the raw value
*/
fun CPointer<CPointed>.customExtension() {
fun CPointer<CPointed>.customExtension2() {
println(this.rawValue)
}

0 comments on commit 1077e32

Please sign in to comment.