Skip to content

Friendly typo checker relies on selections #12023

Closed as not planned
Closed as not planned
@som-snytt

Description

@som-snytt

reproduction steps

scala 2.13.2> val hello = "hi there" ; hellx
                                       ^
              error: not found: value hellx

scala 2.13.2> val hello = "hi there" ; this.hellx
                                            ^
              error: value hellx is not a member of $iw
              did you mean hello?

problem

It would be nice to typo check against scope, including locals.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions