projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b48fc01
)
Add missing StgPrimCallOp case in repCCallConv
author
Duncan Coutts
<duncan@well-typed.com>
Thu, 11 Jun 2009 16:59:05 +0000
(16:59 +0000)
committer
Duncan Coutts
<duncan@well-typed.com>
Thu, 11 Jun 2009 16:59:05 +0000
(16:59 +0000)
We don't handle "foreign import prim" in TH stuff.
compiler/deSugar/DsMeta.hs
patch
|
blob
|
history
diff --git
a/compiler/deSugar/DsMeta.hs
b/compiler/deSugar/DsMeta.hs
index
9aac831
..
2b982b3
100644
(file)
--- a/
compiler/deSugar/DsMeta.hs
+++ b/
compiler/deSugar/DsMeta.hs
@@
-358,7
+358,7
@@
repForD decl = notHandled "Foreign declaration" (ppr decl)
repCCallConv :: CCallConv -> DsM (Core TH.Callconv)
repCCallConv CCallConv = rep2 cCallName []
repCCallConv StdCallConv = rep2 stdCallName []
-repCCallConv CmmCallConv = notHandled "repCCallConv" (ppr CmmCallConv)
+repCCallConv callConv = notHandled "repCCallConv" (ppr callConv)
repSafety :: Safety -> DsM (Core TH.Safety)
repSafety PlayRisky = rep2 unsafeName []