Skip to content

Compilation loop when companion object is in other file than class #9472

Closed
@pikinier20

Description

@pikinier20

Minimized code

One file:

package example.reproduction

class Reproduction

Second file:

package example.reproduction

object Reproduction

Output

Looped compilation - repeated message about compiling 2 sources from ...

Expectation

I think this code is correct and should compile correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions