You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can reproduce this. I'm guessing that you are using the recently-released alex-3.2.7.2, which imposes a PatternGuards requirement that wasn't present in previous versions of alex. (See haskell/alex#223 (comment).) Thankfully, this shouldn't be difficult to fix. I'll prepare a patch.
`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.
On the master branch, SAW fails to compile using GHC 9.2.7. The only error I can find is:
all.txt
The text was updated successfully, but these errors were encountered: