Skip to content

wrong semanticdb symbol for function types' parameters #4

@Strum355

Description

@Strum355

For the given construct private val onErrorStub: (Throwable) -> Unit = {}, we get a semanticdb symbol occurrence as follows:

  symbols {
    symbol: "io/reactivex/rxjava3/kotlin/subscribersKt#onErrorStub.`<no name provided>`."
    display_name: "Throwable"
    language: KOTLIN
  }

Notice the display_name, indicating its a symbol occurrence for the function type's parameter of type Throwable, which is incorrect

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions