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

Fix the build with alex-3.2.7.2 #1855

Merged
merged 1 commit into from
Apr 13, 2023
Merged

Fix the build with alex-3.2.7.2 #1855

merged 1 commit into from
Apr 13, 2023

Commits on Apr 13, 2023

  1. Fix the build with alex-3.2.7.2

    `alex-3.2.7.2` generates code that uses `PatternGuards`, but because `saw-core`
    does not specify a `default-language` in its `.cabal` file, it defaults to
    `Haskell98`, which does not include `PatternGuards`. Arguably, we should make
    `saw-core`'s `default-language` be `Haskell2010` (which _does_ include
    `PatternGuards`), but that would be a somewhat larger change. For the sake of
    restoring the build, this applies the simplest possible fix of enabling
    `PatternGuards` in the affected file.
    
    Fixes #1854.
    RyanGlScott committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    72c6976 View commit details
    Browse the repository at this point in the history