Skip to content

Improper constructor name on Groovy class after copy-and-paste #723

@mauromol

Description

@mauromol

Consider this Groovy class:

package test36

class Test36 {
  Test36() {}
}

Now, copy and paste it, to create Test36b: the result is:

package test36

class Test36b {
  Test36() {}
}

This class does not compile, of course, because the constructor hasn't been renamed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions