Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OneArgExpected -> 91490 #22

Open
PPKFS opened this issue Jun 14, 2022 · 1 comment
Open

OneArgExpected -> 91490 #22

PPKFS opened this issue Jun 14, 2022 · 1 comment

Comments

@PPKFS
Copy link
Collaborator

PPKFS commented Jun 14, 2022

No description provided.

@david-christiansen david-christiansen transferred this issue from haskell/error-messages Jun 20, 2022
@BinderDavid
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants