Commit 0efe9bd7 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Add missing StgPrimCallOp case in repCCallConv

We don't handle "foreign import prim" in TH stuff. 
parent b48fc016
......@@ -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 []
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment