summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/ghci/p6.stderr
blob: 922d238e232fadf6920a83206ec7055471574169 (plain)
1
2
3
4
5
6
7
8
9
10

<interactive>:12:1: error: [GHC-57638]
    • Unacceptable result type in foreign declaration:
        Safe Haskell is on, all FFI imports must be in the IO monad
    • When checking declaration:
        foreign import ccall safe "sin" c_sin :: Double -> Double

<interactive>:13:1: error: [GHC-88464]
    Variable not in scope: c_sin :: t0 -> t
    Suggested fix: Perhaps use ‘c_sin'’ (line 8)