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

Better error messages for missing commas and more #18785

Merged
merged 3 commits into from
Oct 30, 2023

Commits on Oct 29, 2023

  1. Classify an id as infix operator only if following can start an operand

    Also, detect and report spread operators in illegal positions
    odersky committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    ffb2ab7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45fc82a View commit details
    Browse the repository at this point in the history
  3. Override operator detection logic in interactive mode

    In interactive mode the token after an operator might not yet exist, so we
    should disregard that info when deciding whether we see an infix operator or
    not.
    odersky committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    fca7d06 View commit details
    Browse the repository at this point in the history