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 Dec 9, 2024
1 parent 67f96f9 commit c034a2d
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 c034a2d

Please sign in to comment.