summaryrefslogtreecommitdiff
path: root/src/mono_util.sml
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2016-02-13 10:41:17 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2016-02-13 10:41:17 -0500
commit5ca6148aaf7b930a8868d0543f1a307d40532243 (patch)
tree55ec538c5bdef601b0ac8ebca71ad495f644326d /src/mono_util.sml
parent3d3886672433f0775f772d8d2ee47c5f5e0bc745 (diff)
parent3044fbedd58961f8c1168eb3bc2eeeb8a2b0b60e (diff)
Merge branch 'upstream' into dfsg_clean20160213+dfsg
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r--src/mono_util.sml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml
index 5d7eb164..fc1a2bcb 100644
--- a/src/mono_util.sml
+++ b/src/mono_util.sml
@@ -235,8 +235,7 @@ fun mapfoldB {typ = fc, exp = fe, bind} =
let
fun pb ((p, _), ctx) =
case p of
- PWild => ctx
- | PVar (x, t) => bind (ctx, RelE (x, t))
+ PVar (x, t) => bind (ctx, RelE (x, t))
| PPrim _ => ctx
| PCon (_, _, NONE) => ctx
| PCon (_, _, SOME p) => pb (p, ctx)