Commit ab592001 authored by dterei's avatar dterei
Browse files

Fix up safe haskell test outputs

parent 8a808e41
module D where
module D (a) where
a :: Int
a = 1
......
......@@ -16,4 +16,5 @@ test('p13', normal, ghci_script, ['p13.script'])
test('p14', normal, ghci_script, ['p14.script'])
test('p15', normal, ghci_script, ['p15.script'])
test('p16', normal, ghci_script, ['p16.script'])
test('p17', normal, ghci_script, ['p17.script'])
<interactive>:10:1: Not in scope: `b'
Warning: can't use * imports with Safe Haskell; ignoring *
1
2
<no location info>:
bytestring-0.9.2.0:Data.ByteString can't be safely imported! The package (bytestring-0.9.2.0) the module resides in isn't trusted.
don't know how to reverse -XSafe
Some flags have not been recognized: -fno-package-trust
*** Exception: bytestring-0.9.2.0:Data.ByteString can't be safely imported! The package (bytestring-0.9.2.0) the module resides in isn't trusted.
Warning: can't use * imports with Safe Haskell; ignoring *
-- Test bad imports
:unset +s
:set -XSafe
-- test trustworthy and package flag
import Data.ByteString
:set -fpackage-trust
import Data.ByteString
<no location info>:
bytestring-0.9.2.0:Data.ByteString can't be safely imported! The package (bytestring-0.9.2.0) the module resides in isn't trusted.
<no location info>:
base:System.IO.Unsafe can't be safely imported! The module itself isn't safe.
<no location info>:
bytestring-0.9.2.0:Data.ByteString can't be safely imported! The package (bytestring-0.9.2.0) the module resides in isn't trusted.
can't import System.IO.Unsafe as it isn't trusted.
*** Exception: bytestring-0.9.2.0:Data.ByteString can't be safely imported! The package (bytestring-0.9.2.0) the module resides in isn't trusted.
Warning: can't use * imports with Safe Haskell; ignoring *
1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment