[GHC] #16201: ghci063 failing on Darwin
GHC
ghc-devs at haskell.org
Thu Jan 17 18:54:31 UTC 2019
#16201: ghci063 failing on Darwin
----------------------------------------+---------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: highest | Milestone: 8.8.1
Component: Compiler | Version: 8.6.3
Keywords: | Operating System: MacOS X
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
----------------------------------------+---------------------------------
{{{#!diff
--- /dev/null 2019-01-16 12:17:41.000000000 -0800
+++ ghci/scripts/ghci063.run/ghci063.run.stderr.normalised 2019-01-16
12:17:42.000000000 -0800
@@ -0,0 +1,2 @@
+
+B.hs:1:1: parse error on input ‘***’
}}}
The test in question is just a normal `ghci_script` test:
{{{
:! echo module A where {} >A.hs
:! echo module B where { import A } >B.hs
:load B
-- We're going to replace B.hs with an invalid module but without
-- changing its timestamp. A :reload should *not* look at the
-- contents of the file, because the timestamp hasn't changed.
:! cp B.hs B.hs-copy
:! touch -r B.hs B.hs-copy
:! echo "*** INVALID ***" >B.hs
:! touch -r B.hs-copy B.hs
:reload
-- Put the original file back, now it should work
:! cp B.hs-copy B.hs
:reload
}}}
I have no idea why GHCi would be trying to parse the `!echo`, much less
only on Darwin.
This is currently the last issue Darwin issue keeping us from setting
`allow_failure` to false so I'm going to mark this as broken.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16201>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list