Ticket #2675 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

Malformed pragma causes hang under emacs

Reported by: ezrakilty Owned by:
Priority: normal Milestone:
Component: GHCi Version: 6.8.3
Keywords: emacs haskell-ghci-mode Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Running GHCi 6.8.3 under the Emacs haskell-ghci mode, an unterminated pragma causes emacs to hang. Not sure if this is a bug in haskell-ghci mode specifically; running the same file from outside emacs gives an error message, as expected, and doesn't hang. Here's a minimal test case:

    {-# LANGUAGE PatternSignatures -}

Note the lack of terminating #.

Change History

Changed 5 years ago by igloo

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to invalid

This sounds like an emacs haskell-ghci mode bug to me (syntax highlighting not terminating or something?). Please re-open if you think GHC is doing something wrong.

Note: See TracTickets for help on using tickets.