[GHC] #15836: ghc-in-ghci script fails when there is a Main.hs in the top-level directory

GHC ghc-devs at haskell.org
Tue Oct 30 14:03:59 UTC 2018


#15836: ghc-in-ghci script fails when there is a Main.hs in the top-level directory
-------------------------------------+-------------------------------------
           Reporter:  mpickering     |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.6.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I had a file called `Main.hs` in my top-level GHC folder. When running
 `./utils/ghc-in-ghci/run.sh`, the script tried to load this random file.
 I'm not sure which `Main` it is trying to load but it was not the right
 one!

 Workaround: Don't have a file called `Main.hs` in the top-level directory.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15836>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list