Description
I am running Emacs (GNU Emacs 24.5.1 (i686-pc-mingw32)) on Windows, and haskell-mode 1.5
When I am in a big haskell file (1000 lines) and at the bottom of the file I can type a new line:
foo :: (some text goes here
This works well and performance appears fine.
But if I type that at the top of the file (just under the import statements for instances) then once I hit the left-parenthesis (which is unbalanced) the rate of response from Emacs drops to less than one character per second, often I have to wait for 10 to 20 seconds for any of "some text goes here" to appear in the buffer after the left parenthesis.
Note that this performance bug only occurs when the unbalanced left parenthesis is part of a type, not when it is part of a normal expression.
This is such a serious performance bug it essentially hangs Emacs. I have to disable font-lock mode when editing many haskell files.