hlint-3.2.4: tests/parse-error.test
---------------------------------------------------------------------
RUN "--ignore=Parse error" tests/ignore-parse-error.hs
FILE tests/ignore-parse-error.hs
where
OUTPUT
No hints
---------------------------------------------------------------------
RUN tests/ignore-parse-error2.hs
FILE tests/ignore-parse-error2.hs
module Foo where
where
OUTPUT
tests/ignore-parse-error2.hs:3:1-5: Error: Parse error: on input `where'
Found:
module Foo where
> where
1 hint
---------------------------------------------------------------------
RUN tests/ignore-parse-error3.hs
FILE tests/ignore-parse-error3.hs
{-# LANGUAGE InvalidExtension #-}
OUTPUT
tests/ignore-parse-error3.hs:1:1: Error: Parse error: Unsupported extension: InvalidExtension
Found:
{-# LANGUAGE InvalidExtension #-}
1 hint