Skip to content

Import not added when using a nested class in current package #403

@mauromol

Description

@mauromol

Consider the following:

package test14
class Outer {
  static class Nested {
	  String foo
	  Integer bar
  }
}

And:

package test14
class Test14 {
  void foobar() {
	  def n = new Nes|
  }
}

Invoke code assist at "|" and choose "Nested() - test14.Nested": no import declaration is added and Groovy complains that it is "unable to resolve class Nested".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions