Skip to content

Wrong details and symbols returned by Completions #11941

Closed
@tgodzik

Description

@tgodzik

Compiler version

3.0.0-RC2

Minimized code

For:

object A {
  java.nio.file.Files.readAttributes@@
}

when using:

Completion.completions(pos)

where pos is set at @@

Output

Completion(
  readAttributes,
  method readAttributes,
  List(method readAttributes, method readAttributes)
)

Expectation

Previously for 3.0.0-RC1 we were getting:

List(Completion(
  readAttributes,
 (x$0: java.nio.file.Path, x$1: String, x$2: java.nio.file.LinkOption*):  java.util.Map[String, Object],
 List(method readAttributes))
)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions