error-message-index
error-message-index copied to clipboard
OneArgExpected -> 91490
Example:
module T7243 where
import Foreign.Ptr
foreign import ccall "wrapper" foo :: IO (FunPtr ())
Results in
T7243.hs:4:1: error: [GHC-91490]
• Unacceptable type in foreign declaration: One argument expected
• When checking declaration:
foreign import ccall safe "wrapper" foo :: IO (FunPtr ())
GHC issue tracker: https://gitlab.haskell.org/ghc/ghc/-/issues/7243