faylang / fay

A proper subset of Haskell that compiles to JavaScript
https://github.com/faylang/fay/wiki
BSD 3-Clause "New" or "Revised" License
1.28k stars 89 forks source link

made patterns irrefutable to fix MonadFail errors #456

Closed henrylaxen closed 5 years ago

henrylaxen commented 6 years ago

ghc 8.6.1 gives errors when compiling fay because of new MonadFail. This patch fixes those errors.

bergmark commented 6 years ago

Thanks! I added ghc 8.6 to the travis build on this branch as well.

henrylaxen commented 5 years ago

Now compiles with 8.6.2