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:
parent
05647fd474
commit
74887f0013
@ -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:
|
||||
|
1
data/examples/other/jsffi-out.hs
Normal file
1
data/examples/other/jsffi-out.hs
Normal file
@ -0,0 +1 @@
|
||||
{-# LANGUAGE JavaScriptFFI #-}
|
1
data/examples/other/jsffi.hs
Normal file
1
data/examples/other/jsffi.hs
Normal file
@ -0,0 +1 @@
|
||||
{-# language JavaScriptFFI #-}
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user