GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-07-07T19:15:25Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/1065The impossible happened (Template Haskell)2019-07-07T19:15:25Zsfh23@cornell.eduThe impossible happened (Template Haskell)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 ->...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) |]
```6.6.1Simon Peyton JonesSimon Peyton Jones