[GHC] #13989: use templateHaskell type checker panic