summaryrefslogtreecommitdiff
path: root/compiler/simplCore/SimplUtils.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2019-09-20 10:47:18 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2019-09-20 10:50:21 +0100
commit1755424806839d57a0c5672922a4b65b838f7d17 (patch)
tree01a7702029892bf373f2371824eed0d7b308e2a9 /compiler/simplCore/SimplUtils.hs
parent1b7e1d31fee4176608e46d45ddc195e313eed978 (diff)
downloadhaskell-1755424806839d57a0c5672922a4b65b838f7d17.tar.gz
Fix PmOracle.addVarCoreCt in-scope set
PmOracle.addVarCoreCt was giving a bogus (empty) in-scope set to exprIsConApp_maybe, which resulted in a substitution-invariant failure (see MR !1647 discussion). This patch fixes it, by taking the free vars of the expression.
Diffstat (limited to 'compiler/simplCore/SimplUtils.hs')
0 files changed, 0 insertions, 0 deletions