1
1
mirror of https://github.com/tweag/ormolu.git synced 2024-09-11 13:16:13 +03:00

Don't error on JavaScriptFFI language pragma

This commit is contained in:
Alexander Esgen 2024-01-09 21:17:50 +01:00 committed by Mark Karpov
parent 05647fd474
commit 74887f0013
4 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
## Unreleased
* Don't error when the `JavaScriptFFI` language pragma is present. [Issue
1087](https://github.com/tweag/ormolu/issues/1087).
## Ormolu 0.7.3.0
* Switched to `ghc-lib-parser-9.8`, with the following new syntactic features:

View File

@ -0,0 +1 @@
{-# LANGUAGE JavaScriptFFI #-}

View File

@ -0,0 +1 @@
{-# language JavaScriptFFI #-}

View File

@ -26,7 +26,8 @@ fakeSettings =
Platform
{ platformArchOS =
ArchOS
{ archOS_arch = ArchUnknown,
{ -- see https://github.com/tweag/ormolu/issues/1087
archOS_arch = ArchJavaScript,
archOS_OS = OSUnknown
},
platformWordSize = PW8,