Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find node by signature not implemented for value-parameter #278

Closed
madorb opened this issue Mar 1, 2018 · 2 comments
Closed

Can't find node by signature not implemented for value-parameter #278

madorb opened this issue Mar 1, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@madorb
Copy link

madorb commented Mar 1, 2018

I have the following code:

/**
 * Return a errors as a Set. If [errors] is empty an empty set is returned.
 * @param errors An array of errors
 */
fun createErrors(vararg errors: Error): Set<Error> = if (errors.isEmpty()) {
    emptySet()
} else {
    HashSet(errors.asList())
}

I've defined a gradle task to generate javadoc:

task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
        outputFormat = 'javadoc'
        outputDirectory = "$buildDir/dokkaJavadoc"
}

running task gradle dokkaJavadoc i get the following error:

Can't find node by signature not implemented for value-parameter vararg errors: com.foo.exception.error.Error defined in com.foo.exception.error.createErrors[ValueParameterDescriptorImpl@6fe7f16c] with psi: VALUE_PARAMETER, referenced at com.foo.exception.error$createErrors(kotlin.Array((com.foo.exception.error.Error))) (ErrorUtil.kt:64)
@semoro semoro self-assigned this Mar 22, 2018
@semoro semoro added the bug label Mar 22, 2018
@skalarproduktraum
Copy link

skalarproduktraum commented Jul 14, 2018

I'm seeing the same issue. @semoro: Is there some workaround or something? What's the cause of this problem?

Edit: I should also point out that the parts of the Kdoc dokka is complaining about goes through fine in IntelliJ.

@semoro semoro added this to the 0.9.18 milestone Dec 13, 2018
@KrystianUjma
Copy link
Contributor

PR created here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants