Closed sloosch closed 4 years ago
Hi!
The following code fails to parse the => in the data declaration.
=>
{-#LANGUAGE ExistentialQuantification#-} module Foo where class IsFoo a data AnyFoo = forall a. IsFoo a => AnyFoo a
The parse error is: <q name>, <ttype>, HaskellTokenType.DERIVING, HaskellTokenType.DIRECTIVE, HaskellTokenType.INCLUDE_DIRECTIVE, HaskellTokenType.NEWLINE, HaskellTokenType.PRAGMA_START, HaskellTokenType.SEMICOLON or HaskellTokenType.VERTICAL_BAR expected, got '=>'
<q name>, <ttype>, HaskellTokenType.DERIVING, HaskellTokenType.DIRECTIVE, HaskellTokenType.INCLUDE_DIRECTIVE, HaskellTokenType.NEWLINE, HaskellTokenType.PRAGMA_START, HaskellTokenType.SEMICOLON or HaskellTokenType.VERTICAL_BAR expected, got '=>'
Which version of the plugin?
I can't reproduce in beta72.
Was in beta69 :blush:
Works fine in the newer version!
Hi!
The following code fails to parse the
=>
in the data declaration.The parse error is:
<q name>, <ttype>, HaskellTokenType.DERIVING, HaskellTokenType.DIRECTIVE, HaskellTokenType.INCLUDE_DIRECTIVE, HaskellTokenType.NEWLINE, HaskellTokenType.PRAGMA_START, HaskellTokenType.SEMICOLON or HaskellTokenType.VERTICAL_BAR expected, got '=>'