summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2020-05-01 16:22:40 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-05-04 01:56:59 -0400
commit8bdc03d61cb7a2f96887c86bd0b253f7c108fcde (patch)
tree16406da4e2ac5d89504695ad3a672caababdf022 /.gitignore
parentb465dd4500beffe919e8b8dcd075008399fbf446 (diff)
downloadhaskell-8bdc03d61cb7a2f96887c86bd0b253f7c108fcde.tar.gz
Don't return a panic in tcNestedSplice
In GHC.Tc.Gen.Splice.tcNestedSplice we were returning a typechecked expression of "panic". That is usually OK, because the result is discarded. But it happens that tcApp now looks at the typechecked expression, trivially, to ask if it is tagToEnum. So being bottom is bad. Moreover a debug-trace might print it out. So better to return a civilised expression, even though it is usually discarded.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions