Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scalameta/scalafmt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.7.7
Choose a base ref
...
head repository: scalameta/scalafmt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.7.9
Choose a head ref
  • 14 commits
  • 15 files changed
  • 1 contributor

Commits on Jul 6, 2023

  1. Configuration menu
    Copy the full SHA
    39249ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b11cf6 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Configuration menu
    Copy the full SHA
    967040e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87d16e4 View commit details
    Browse the repository at this point in the history
  3. RemoveScala3OptionalBraces: handle infix on rbrace

    Instead of handling a specific owner of the left brace (previously, it
    was a Term.Match only), let's instead look for infix when we encounter
    the right brace instead, and ensure that the next token is not the op
    of an infix.
    
    This also handles the case when Term.Match was not an LHS but in the
    middle of an infix chain.
    kitbellew committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    f8539f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b43161a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bb93f55 View commit details
    Browse the repository at this point in the history
  6. Router: use template to break before extends

    In older versions of scalameta, `extends` was not part of template, and
    we had to identify the tree just preceding it.
    
    Also, make sure to handle cases when the template is empty (in that case
    there's no reason to break before a non-existent `extends`).
    kitbellew committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    5bfe04b View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. TreeOps: skip empty types in defDefReturnType

    Historically, the parser returns `Type.Name("Unit")` for declarations
    or definitions using the procedure syntax (i.e., no explicit `: type`).
    
    However, that tree occupies no tokens and hence needs to be ignored.
    kitbellew committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    4f63202 View commit details
    Browse the repository at this point in the history
  2. Scalameta: upgrade to v4.8.3

    Also upgrade scalatags.
    kitbellew committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    e0dafe0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    114c883 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Configuration menu
    Copy the full SHA
    0f23519 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf76973 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c141e22 View commit details
    Browse the repository at this point in the history
Loading