Improved the error message for getting the C type to leave the mobile wrapper on
This commit is contained in:
parent
f5fa5e5caf
commit
90634ff1d6
|
@ -870,7 +870,7 @@ cgetCType m origT am
|
||||||
(_, Just pl, False, A.ValAbbrev) -> return $ Const $ Plain pl
|
(_, Just pl, False, A.ValAbbrev) -> return $ Const $ Plain pl
|
||||||
|
|
||||||
-- Must have missed one:
|
-- Must have missed one:
|
||||||
_ -> diePC m $ formatCode "Cannot work out the C type for: %" t
|
_ -> diePC m $ formatCode "Cannot work out the C type for: %" origT
|
||||||
where
|
where
|
||||||
const = if am == A.ValAbbrev then Const else id
|
const = if am == A.ValAbbrev then Const else id
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user