blob: ddfa8449d6a18f4e9f0b2654e10e426454add660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{-# OPTIONS_GHC -Wall -fwarn-tabs -Werror #-}
-- check that all warnings are emitted before failing due to -Werror (#1666)
-- missing type sig warning (type checker)
main = do
let main = main -- shadowing warning (renamer)
putStrLn "hello" -- tab warning (lexer)
f [] = []
f [] = [] -- overlapping pattern
-- incomplete pattern
|