aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-27 14:37:46 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-31 17:54:04 +0200
commite9f96f1100c9cc99ed34a7488f551fc76fc1fef7 (patch)
tree2d7351ca6b53f3f450582a69f77f483dad1d13c7
parente5200753708274a96fe3036305d1b0696dce7022 (diff)
downloaddokka-e9f96f1100c9cc99ed34a7488f551fc76fc1fef7.tar.gz
dokka-e9f96f1100c9cc99ed34a7488f551fc76fc1fef7.tar.bz2
dokka-e9f96f1100c9cc99ed34a7488f551fc76fc1fef7.zip
Submit failing test for Kotlin/Native being unable to resolve CPointer
-rw-r--r--.run/it-multiplatform-0_dokka.run.xml2
-rw-r--r--integration-tests/gradle/projects/it-multiplatform-0/gradle.properties2
-rw-r--r--integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain/kotlin/it/mpp0/CPointerExtension.kt11
3 files changed, 13 insertions, 2 deletions
diff --git a/.run/it-multiplatform-0_dokka.run.xml b/.run/it-multiplatform-0_dokka.run.xml
index 3ed501ea..54b97a31 100644
--- a/.run/it-multiplatform-0_dokka.run.xml
+++ b/.run/it-multiplatform-0_dokka.run.xml
@@ -11,7 +11,7 @@
<option name="taskNames">
<list>
<option value="clean" />
- <option value="dokka" />
+ <option value="dokkaHtml" />
</list>
</option>
<option name="vmOptions" value="" />
diff --git a/integration-tests/gradle/projects/it-multiplatform-0/gradle.properties b/integration-tests/gradle/projects/it-multiplatform-0/gradle.properties
index 7ebac3ad..6e199df5 100644
--- a/integration-tests/gradle/projects/it-multiplatform-0/gradle.properties
+++ b/integration-tests/gradle/projects/it-multiplatform-0/gradle.properties
@@ -1 +1 @@
-dokka_it_kotlin_version=1.3.72
+dokka_it_kotlin_version=1.4.0-rc
diff --git a/integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain/kotlin/it/mpp0/CPointerExtension.kt b/integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain/kotlin/it/mpp0/CPointerExtension.kt
new file mode 100644
index 00000000..342a749e
--- /dev/null
+++ b/integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain/kotlin/it/mpp0/CPointerExtension.kt
@@ -0,0 +1,11 @@
+package it.mpp0
+
+import kotlinx.cinterop.CPointed
+import kotlinx.cinterop.CPointer
+
+/**
+ * Will print the raw value
+ */
+fun CPointer<CPointed>.customExtension() {
+ println(this.rawValue)
+}