[GHC] #15660: source file modify race leads to inconsistent error message

GHC ghc-devs at haskell.org
Fri Oct 19 01:39:22 UTC 2018


#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:

 >  So it would probably suffice for ghc to detect the race and not quote
 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


More information about the ghc-tickets mailing list