error-message-index icon indicating copy to clipboard operation
error-message-index copied to clipboard

OneArgExpected -> 91490

Open PPKFS opened this issue 2 years ago • 1 comments

PPKFS avatar Jun 14 '22 14:06 PPKFS

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

BinderDavid avatar Sep 03 '23 17:09 BinderDavid