diff options
Diffstat (limited to 'integration-tests/gradle/projects/it-js-ir-0/src')
-rw-r--r-- | integration-tests/gradle/projects/it-js-ir-0/src/main/kotlin/RootPackageClass.kt | 4 |
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" |