quoting and Template Haskell handling for prim and javascript foreign imports broken
In GHC 7.10.1, Template Haskell support was added for all calling conventions. Unfortunately a few cases are unhandled, which makes the TH code treat the prim
and javascript
calling conventions as if they were C calling conventions, adding the static
keyword and running them through parseCImport
.
This is particularly bad for javascript
imports, since most JS imports aren't valid C imports, so they get rejected.
I'm testing a fix for this that I'll submit later today. I hope this is in time for 7.10.2
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |