summaryrefslogtreecommitdiff
path: root/src/mono_reduce.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-01-19 13:51:26 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2014-01-19 13:51:26 -0500
commit80f6280f9d31faaa780747738d7d5a7c2e702aad (patch)
treecc96db07946450b187263c144a318052a9f87135 /src/mono_reduce.sml
parenta0dd36d3721acc580461be8c968f6bdafc83827b (diff)
Fix a soundness bug in purity analysis (mono_reduce)
Diffstat (limited to 'src/mono_reduce.sml')
-rw-r--r--src/mono_reduce.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mono_reduce.sml b/src/mono_reduce.sml
index e96a0e8f..39894aa5 100644
--- a/src/mono_reduce.sml
+++ b/src/mono_reduce.sml
@@ -65,6 +65,7 @@ fun simpleImpure (tsyms, syms) =
in
simpleTypeImpure tsyms t
end
+ | EApp _ => true
| _ => false,
bind = fn (env, b) =>
case b of