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

Provide suggestions for const arguments missing braces #71592

Closed
wants to merge 6 commits into from

Commits on Apr 28, 2020

  1. Configuration menu
    Copy the full SHA
    2d57b1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    870a7de View commit details
    Browse the repository at this point in the history
  3. Parse unambiguous const expressions in param position

    When encountering the start of an expression that cannot be a type
    parameter, parse it as a const expression. For an expression to be valid
    they must not contain "greater than" or "shift right" operations. The
    new behavior only parses expressions that begin with a token that can
    start an expression but can't start a type. Calling functions and
    methods will cause a type path parsing error.
    estebank committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    892eac1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00aeabc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    200034a View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. Deny bare const expressions

    estebank committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    9a5a4b0 View commit details
    Browse the repository at this point in the history