You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a pragma is used together with a multi-line comment, and module is placed at the end of the multi-line comment, but on the same line as it ends, ghcmod-vim gives a parse error. It does not give the error if you move the module to a separate line, or if you remove the pragma. Below follows an example to trigger the error in HEAD. ghc-mod itself does not produce this error at all.
{-#LANGUAGE TemplateHaskell #-}
{-
-
-} module Main where
main :: a
main = undefined
The text was updated successfully, but these errors were encountered:
If a pragma is used together with a multi-line comment, and module is placed at the end of the multi-line comment, but on the same line as it ends, ghcmod-vim gives a parse error. It does not give the error if you move the module to a separate line, or if you remove the pragma. Below follows an example to trigger the error in HEAD. ghc-mod itself does not produce this error at all.
The text was updated successfully, but these errors were encountered: