diff options
author | Gabor Greif <ggreif@gmail.com> | 2015-04-10 10:00:50 +0200 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2015-04-10 10:00:50 +0200 |
commit | 9d16808e1b6dd2fb7ab3eb5712d9842e77d57631 (patch) | |
tree | d574d81a21d82998860c15c8d9c8d320d55fa928 /testsuite/tests/ffi/should_fail | |
parent | fa46c597db9939de1de4bc9b917c8dc1d9e2093a (diff) | |
download | haskell-9d16808e1b6dd2fb7ab3eb5712d9842e77d57631.tar.gz |
Typos in error messages and in comments
Diffstat (limited to 'testsuite/tests/ffi/should_fail')
-rw-r--r-- | testsuite/tests/ffi/should_fail/ccfail004.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/ffi/should_fail/ccfail004.stderr b/testsuite/tests/ffi/should_fail/ccfail004.stderr index f54ac91aa3..825c47ca1e 100644 --- a/testsuite/tests/ffi/should_fail/ccfail004.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail004.stderr @@ -2,7 +2,7 @@ ccfail004.hs:9:1: Unacceptable argument type in foreign declaration: ‘NInt’ cannot be marshalled in a foreign call - because its data construtor is not in scope + because its data constructor is not in scope Possible fix: import the data constructor to bring it into scope When checking declaration: foreign import ccall safe "static f1" f1 :: NInt -> IO Int @@ -10,7 +10,7 @@ ccfail004.hs:9:1: ccfail004.hs:10:1: Unacceptable result type in foreign declaration: ‘NInt’ cannot be marshalled in a foreign call - because its data construtor is not in scope + because its data constructor is not in scope Possible fix: import the data constructor to bring it into scope When checking declaration: foreign import ccall safe "static f2" f2 :: Int -> IO NInt @@ -18,7 +18,7 @@ ccfail004.hs:10:1: ccfail004.hs:11:1: Unacceptable result type in foreign declaration: ‘NIO Int’ cannot be marshalled in a foreign call - because the data construtor for ‘NIO’ is not in scope + because the data constructor for ‘NIO’ is not in scope Possible fix: import the data constructor to bring it into scope When checking declaration: foreign import ccall safe "static f3" f3 :: Int -> NIO Int |