Skip to content

REPL Completion picks up implied members imported without the implied modifier #6361

Closed
@anatoliykmetyuk

Description

@anatoliykmetyuk
scala> object foo { implied bar for Int = 10 }
// defined object foo

scala> import foo._

scala> ba

If you press TAB after ba, it will autocomplete to bar. If you press ENTER afterwards:

scala> bar
1 |bar
  |^^^
  |Not found: bar

Can be related to #5074 and #5895, the former one dealing with the imports and the latter one dealing with the completion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions