Skip to content

Failing code generated when constructor reference uses full package name #924

Open
@AlecKazakova

Description

If an output file has two classes with the same name, constructor references for the second time will generate as

::com.example.Foo

which fails compilation

Ideally we can generate an import alias whenever there is a conflict to avoid this:

import com.example.Foo as CEFoo

::CEFoo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions