id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
212	Parse errors with family keyword	NeilMitchell2	nibro	"Parsing the following fragments with {{{import Language.Haskell.Exts; parseFile ""Test.hs""}}}, I get the results:

{{{
{-# LANGUAGE TypeFamilies #-}
f family = undefined
-- ParseFailed (SrcLoc {srcFilename = ""Test.hs"", srcLine = 2, srcColumn = 3}) ""TemplateHaskell is not enabled""
}}}

{{{
{-# LANGUAGE TypeFamilies, TemplateHaskell #-}
f family = undefined
-- ParseFailed (SrcLoc {srcFilename = ""Test.hs"", srcLine = 2, srcColumn = 3}) ""Parse error: family""
}}}

Both these fragments are accepted by GHC. The TemplateHaskell suggestion in the first case is not very good. This issue is based on a bug report against HLint, http://code.google.com/p/ndmitchell/issues/detail?id=402 , and all results were under 1.10.1."	bug report	new	major		parser				ndmitchell@…
