Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
19bb5ca3
Commit
19bb5ca3
authored
Sep 01, 2011
by
Ian Lynagh
Browse files
Stop BadImport03 using BadImport02's sources
Could have caused test failures if they both ran in parallel.
parent
e8f1741f
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/safeHaskell/unsafeLibs/BadImport03.hs
View file @
19bb5ca3
...
...
@@ -7,7 +7,7 @@ module Main where
import
Data.Typeable
import
BadImport0
2
_A
import
BadImport0
3
_A
deriving
instance
Typeable
Nat
...
...
testsuite/tests/safeHaskell/unsafeLibs/BadImport03.stderr
View file @
19bb5ca3
[1 of 2] Compiling BadImport0
2
_A ( BadImport0
2
_A.hs, BadImport0
2
_A.o )
[1 of 2] Compiling BadImport0
3
_A ( BadImport0
3
_A.hs, BadImport0
3
_A.o )
[2 of 2] Compiling Main ( BadImport03.hs, BadImport03.o )
BadImport03.hs:16:10:
...
...
testsuite/tests/safeHaskell/unsafeLibs/BadImport03_A.hs
0 → 100644
View file @
19bb5ca3
{-# LANGUAGE Trustworthy #-}
module
BadImport03_A
(
Nat
,
zero
,
succ'
,
showNat
)
where
data
Nat
=
NatC
Int
zero
::
Nat
zero
=
NatC
0
succ'
::
Nat
->
Nat
succ'
(
NatC
n
)
=
NatC
$
n
+
1
showNat
::
Nat
->
String
showNat
(
NatC
n
)
=
"Nat "
++
show
n
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment