summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/SimpleOpt.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2020-04-21 23:57:33 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-05-29 01:39:19 -0400
commit0e3361ca414012e3ec40a260c2323986ce770db6 (patch)
tree2d76064448dd4d24444a9a2232dbd8f09f15217f /compiler/GHC/Core/SimpleOpt.hs
parentbbeb2389596df61ace5778ec580895ea32cc3c6f (diff)
downloadhaskell-0e3361ca414012e3ec40a260c2323986ce770db6.tar.gz
Make Lint check return type of a join point
Consider join x = rhs in body It's important that the type of 'rhs' is the same as the type of 'body', but Lint wasn't checking that invariant. Now it does! This was exposed by investigation into !3113.
Diffstat (limited to 'compiler/GHC/Core/SimpleOpt.hs')
0 files changed, 0 insertions, 0 deletions