id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
1065	The impossible happened (Template Haskell)	sfh23@…	simonpj	"Error message during compilation:
{{{
ghc-6.6: panic! (the 'impossible' happened)
  (GHC version 6.6 for i386-unknown-linux):
        addImpDecls
}}}
This occurrs with the following function definition:
{{{
makeRowContent :: String -> [(String, SqlDecl)] -> Q [Dec]
makeRowContent tblName lst = do
  [d| data Tbl = Tbl
      instance TableContent Tbl where
        tableName Tbl = $(litE $ StringL tblName)
      $(dataD [] (mkName ""Row"") [] [recC ""Row"" []] [])
      instance RowContent Row where
        rowValueString x = ""rowValue""
        rowNameString x = ""rowName""
        tblName x = $(litE $ StringL tblName) |]
}}}"	merge	closed	normal	6.6.1	Template Haskell	6.6	fixed			Linux	Unknown/Multiple		Unknown	TH_dataD1			
