From 334c9e14dff14f0eb08bda10bac9e622aa132afc Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Thu, 14 Apr 2022 16:08:11 +0300 Subject: 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 --- .../gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integration-tests/gradle/projects/it-js-ir-0/src') 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) = "list" -- cgit