Skip to content

kotlin-as-java-plugin not rendering extension properties correctly #4173

@Seggan

Description

@Seggan

Given the code

val String.test: String
    get() = this + " test"

the kotlin-as-java-plugin produces

Image

A spurious, nonexistent field is created, as well as messing up the signature for the function: it's supposed to be getTest(String $self), not String getTest()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugplugin: kotlin-as-javaAn issue/PR related to Dokka's kotlin-as-java plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions