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

Support for GHC 9.10 #64

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Commits on May 24, 2024

  1. 9.10 support

    wz1000 committed May 24, 2024
    Configuration menu
    Copy the full SHA
    d1c2cb7 View commit details
    Browse the repository at this point in the history
  2. exactprint cabal compat

    wz1000 committed May 24, 2024
    Configuration menu
    Copy the full SHA
    6f4d888 View commit details
    Browse the repository at this point in the history
  3. Update CI to build with 9.10

    wz1000 committed May 24, 2024
    Configuration menu
    Copy the full SHA
    d924442 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. attempt some testsuite fixes

    wz1000 committed May 31, 2024
    Configuration menu
    Copy the full SHA
    2d94ec6 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Clean up a bit

    - Remove earlier comments from previous upgrade
    - Add CPP to silence a bunch of warnings
    alanz committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    71df651 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    8b3a13d View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. Fix backticks test

    By adjusting the paren addition code, 9.10 exactprint uses spans for
    delta calcs, we can keep them
    alanz committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    f4acc74 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

  1. Some cleanups

    alanz committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    1bc6c79 View commit details
    Browse the repository at this point in the history
  2. Fix spacing for fold/unfold function rules

    Down to 19 failures
    alanz committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    c454159 View commit details
    Browse the repository at this point in the history
  3. Fix parsing adhoc rules

    Drops to 17/86
    alanz committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    ba0fc0f View commit details
    Browse the repository at this point in the history
  4. Non-functional changes

    whitespace, commenting debug bits
    alanz committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    7d5fb7d View commit details
    Browse the repository at this point in the history
  5. Drop test test failures to 13

    alanz committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    498a009 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Fix adding imports

    now 13/86
    alanz committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    7209a28 View commit details
    Browse the repository at this point in the history
  2. Fix test /Adhoc/

    12/86
    alanz committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    43a36b5 View commit details
    Browse the repository at this point in the history
  3. Fix golden.Imports

    11/86
    alanz committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    319160d View commit details
    Browse the repository at this point in the history
  4. Fix Types2.test, and template parsing

    When we finalise the templates, do makeDeltaAst for all variants.
    
    This fixes Types2 and Parens tests, but breaks
    
    Readme1
    Types3
    Types4
    alanz committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    f473214 View commit details
    Browse the repository at this point in the history
  5. Only makeDeltaAst for the rule templates

    We need the patterns to be located, to not replace the original when
    matching.
    
    Down to 6/86
    alanz committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    1fd4610 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Fix up fixity spans in fixOnePat

    Brings it to 5/86 remaining failures
    alanz committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    acab9c0 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Explicitly store the original pattern location in Query

    This is used to filter out potential matches in the file the query
    originates in.
    
    But often we have had to re-arrange it with deltas at the point of
    matching, so can no longer easily extract it from the pattern to be
    matched.
    
    Instead we store it explicitly when making a Query
    alanz committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    4ee7339 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. Use originating location for pattern

    Still 5/86 failures, but fewer failing instances in PatternSyn2
    alanz committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    0dd02a4 View commit details
    Browse the repository at this point in the history
  2. Keep the original anchor when replacing

    This sorts out surrounding spacing.
    
    Down to 4/86
    alanz committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    50d8d16 View commit details
    Browse the repository at this point in the history
  3. Preserve var locations when converting a pat to an expr

    Down to 3/86
    alanz committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    5762790 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Apply fixities correctly

    Recursion /is/ needed, because we are moving things around at this
    level, the child nodes may need re-arranging as a result
    
    Still 3/86, but they all relate to comments. I think.
    alanz committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    e833608 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Add compatibility layer for ghc-exactprint 1.10

    Which has made most exactprint transform functions pure, rather than
    in TransFormT.
    alanz committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    2f11878 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. WIP

    alanz committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    7a85b6c View commit details
    Browse the repository at this point in the history