Skip to content

Implicit conversion using given Conversion clause has no completions #14689

Closed
@rochala

Description

@rochala

Compiler version

3.1.1

Minimized code

Completions for objects converted with given Conversion[_, _] clause are not present.

Paste following snippet into repl:

import scala.language.implicitConversions
given Conversion[Int, Option[Int]] = Some(_)

Now try to complete 1.m{hit completion}

Output

max, min completion options

Expectation

Option[Int] completions should also be present for 1.m

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions