id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
2179	Improve error message when `main' is not of the right type	amiddelk	igloo	"If you run the following module with GHC(i):

> module Main where
> main = ""hi""

You get the error message:

> Couldn't match expected type `IO a' against inferred type `[Char]'
> In the first argument of `GHC.TopHandler.runMainIO', namely `main'
> When checking the type of the function `main'

The error message would be a bit nicer if the second line was hidden."	merge	closed	normal	6.10 branch	Compiler	6.8.2	fixed			Linux	x86_64 (amd64)		Unknown	tcfail199			
