Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give "did you mean ...?" hints also for simple identifiers #18747

Merged
merged 3 commits into from
Oct 25, 2023

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    f2e2e3f View commit details
    Browse the repository at this point in the history
  2. Improvements to "did you mean ...?" scheme

     1. Only show accessible members
     2. Show several alternatives if they are at same distance. Unlike Scala 2,
        we do not show alternatives at larger distance. I fear that would produce
        more noise than signal.
    
    Fixes scala#17067
    odersky committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    5ce1ac9 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Update compiler/src/dotty/tools/dotc/reporting/messages.scala

    Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
    odersky and bishabosha committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    094c7aa View commit details
    Browse the repository at this point in the history