Add pragCompleteDName to templateHaskellNames
authorRyan Scott <ryan.gl.scott@gmail.com>
Thu, 26 Jan 2017 04:32:17 +0000 (23:32 -0500)
committerRyan Scott <ryan.gl.scott@gmail.com>
Thu, 26 Jan 2017 04:32:17 +0000 (23:32 -0500)
commite4ab8ba72af27cd23ecd3737b166b625190c34a5
treec79ed4f727fcd49b5d272cb36e0989a4a3b5f35f
parentc344005b2344800bee9fee1c5ca97867691b9c70
Add pragCompleteDName to templateHaskellNames

95dc6dc070deac733d4a4a63a93e606a2e772a67 forgot to add `pragCompleteDName`
to the list of `templateHaskellNames`, which caused a panic if you actually
tried to splice a `COMPLETE` pragma using Template Haskell. This applies the
easy fix and augments the regression test to check for this in the future.
compiler/prelude/THNames.hs
testsuite/tests/th/T13098.hs