[GHC] #10663: ghci ignores stuff after an import command and a semicolon

GHC ghc-devs at haskell.org
Fri Jul 24 02:02:03 UTC 2015


#10663: ghci ignores stuff after an import command and a semicolon
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC accepts       |  Unknown/Multiple
  invalid program                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Right, I think the expected behavior here (at least given the current
 behavior of ghci with respect to semicolons generally) is for `import
 Data.List; x` to be a syntax error of some kind.

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


More information about the ghc-tickets mailing list