Skip to content

Remove JavaScriptFFI from --supported-extensions list

GHC supports the JavaScriptFFI extension syntactically, but it just rejects all foreign import javascript declarations in the typechecker.

Similar to the change in #11102 (closed) I think the proper thing to do is to make GHC say that JavaScriptFFI is not supported. Cabal 1.24 can then use this information in dependency resolution. GHCJS would then just add this to the list by itself, since it has its own front end.

Trac metadata
Trac field Value
Version
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information