[commit: testsuite] master: Remove quotes from echo'd comments in GHCi script (e82472f)
Simon Peyton-Jones
simonpj at microsoft.com
Fri Sep 23 16:32:14 CEST 2011
| > Author: Simon Peyton Jones <simonpj at microsoft.com>
| > Date: Fri Sep 23 07:46:30 2011 +0100
| >
| > Remove quotes from echo'd comments in GHCi script
| >
| > This leads to gratuitous Windows/Unix differences
| > which aren't germane to the test
|
| This breaks ghci038 on my box:
OK I'll push a revert.
I'm getting this on Windows. I have no idea why.
Simon
--- ./scripts/ghci038.stdout 2011-09-01 22:51:18 +0100
+++ ./scripts/ghci038.run.stdout 2011-09-23 05:59:27 +0100
@@ -1,9 +1,9 @@
import Prelude -- implicit
import Prelude
--- map in scope due to explicit import Prelude
+-- map in scope due to explicit 'import Prelude'
map :: (a -> b) -> [a] -> [b]
import Prelude
--- still in scope, import Prelude () is subsumed by import Prelude
+-- still in scope, 'import Prelude ()' is subsumed by 'import Prelude'
map :: (a -> b) -> [a] -> [b]
import Prelude -- implicit
-- still in scope, implicit import of Prelude
| -----Original Message-----
| From: Daniel Fischer [mailto:daniel.is.fischer at googlemail.com]
| Sent: 23 September 2011 13:00
| To: cvs-ghc at haskell.org
| Cc: Simon Peyton-Jones
| Subject: Re: [commit: testsuite] master: Remove quotes from echo'd comments
| in GHCi script (e82472f)
|
| On Friday 23 September 2011, 08:46:46, Simon Peyton Jones wrote:
| > >---------------------------------------------------------------
| >
| > commit e82472fd68db55a23f07d395fa8104eb6a1e1cc0
| > Author: Simon Peyton Jones <simonpj at microsoft.com>
| > Date: Fri Sep 23 07:46:30 2011 +0100
| >
| > Remove quotes from echo'd comments in GHCi script
| >
| > This leads to gratuitous Windows/Unix differences
| > which aren't germane to the test
| >
| > >---------------------------------------------------------------
| >
| > -:!echo -- still in scope, 'import Prelude ()' is subsumed by 'import
| > Prelude'
| > +:!echo -- still in scope, import Prelude () is subsumed by
| > import Prelude
|
| This breaks ghci038 on my box:
|
| /bin/sh: -c: Zeile 0: Syntaxfehler beim unerwarteten Wort `('
| /bin/sh: -c: Zeile 0: `echo -- still in scope, import Prelude () is
| subsumed by import Prelude'
|
| GNU bash, Version 4.1.10(1)-release (x86_64-suse-linux-gnu)
|
| It works if the entire thing is quoted (single or double quotes both work),
| or if the parentheses are escaped, \(\)
|
| What was the problem on Windows?
More information about the Cvs-ghc
mailing list