aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-04-14 16:08:11 +0300
committerGitHub <noreply@github.com>2022-04-14 16:08:11 +0300
commit334c9e14dff14f0eb08bda10bac9e622aa132afc (patch)
tree5ba5ac8938f1be540ee8324bed6759913ec96e03 /integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt
parent21a50e214f3d834bd51525807929e1adb9d0fe6c (diff)
downloaddokka-334c9e14dff14f0eb08bda10bac9e622aa132afc.tar.gz
dokka-334c9e14dff14f0eb08bda10bac9e622aa132afc.tar.bz2
dokka-334c9e14dff14f0eb08bda10bac9e622aa132afc.zip
Use common gradle+kotlin versions across gradle integration tests (#2287)
* Use common gradle+kotlin versions across gradle integration tests * Separate JVM/Android/MPP tested versions * Fix react integration tests for 1.6.10 * Move kotlin react wrapper mapping to TestedVersions * Update gradle to 6.9.2
Diffstat (limited to 'integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt')
-rw-r--r--integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt b/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt
index b93e180e..81c66d54 100644
--- a/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt
+++ b/integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt
@@ -2,7 +2,6 @@
import org.w3c.dom.url.URLSearchParams
import react.Props
-import react.RComponent
import react.State
/**
@@ -12,7 +11,8 @@ class RootPackageClass {
val description = "I do live in the root package!"
}
-fun RComponent<*, *>.params() = URLSearchParams()
+// sample method that uses classes from dom and react, should compile
+fun URLSearchParams.react(props: Props, state: State) {}
fun test(list: MutableList<Int>) = "list"