[GHC] #12955: Confusing error (module is not loaded) when more hsigs provided than -instantiated-with
#12955: Confusing error (module is not loaded) when more hsigs provided than -instantiated-with -------------------------------------+------------------------------------- Reporter: ezyang | Owner: ezyang Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 Keywords: backpack | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Steps to reproduce: 1. Create an `A.hsig` file with `signature A where` 2. Try to build it with `ghc --make A.hsig` Expected: Some error indicating an unexpected signature (you need to specify `-instantiated-with` Actual: This error: {{{ [1 of 1] Compiling A[sig] (.hsig -> .o) attempting to use module ‘main:A’ (A.hsig) which is not loaded }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12955 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
#12955: Confusing error (module is not loaded) when more hsigs provided than
-instantiated-with
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:  ezyang
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:  backpack
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Comment (by Edward Z. Yang 
#12955: Confusing error (module is not loaded) when more hsigs provided than -instantiated-with -------------------------------------+------------------------------------- Reporter: ezyang | Owner: ezyang Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 Resolution: fixed | Keywords: backpack Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by ezyang): * status: new => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12955#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
- 
                
GHC