
So it would probably suffice for ghc to detect the race and not quote
#15660: source file modify race leads to inconsistent error message -------------------------------------+------------------------------------- Reporter: joeyhess | Owner: (none) Type: bug | Status: new Priority: low | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: newcomer Operating System: Linux | Architecture: Type of failure: Poor/confusing | Unknown/Multiple error message | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * keywords: => newcomer Comment: the wrong version of the file. I suppose it could use file stat information or a hash and so avoid keeping a copy. Yes, this sounds like a good 80% solution. Sounds like a good task for someone new to GHC. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15660#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler