summaryrefslogtreecommitdiff
path: root/src/unnest.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/unnest.sml
parent3d3886672433f0775f772d8d2ee47c5f5e0bc745 (diff)
parent3044fbedd58961f8c1168eb3bc2eeeb8a2b0b60e (diff)
Merge branch 'upstream' into dfsg_clean20160213+dfsg
Diffstat (limited to 'src/unnest.sml')
-rw-r--r--src/unnest.sml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unnest.sml b/src/unnest.sml
index 3034eb6e..7469ffd4 100644
--- a/src/unnest.sml
+++ b/src/unnest.sml
@@ -256,8 +256,7 @@ fun exp ((ns, ks, ts), e as old, st : state) =
fun doVars ((p, _), ts) =
case p of
- PWild => ts
- | PVar xt => xt :: ts
+ PVar xt => xt :: ts
| PPrim _ => ts
| PCon (_, _, _, NONE) => ts
| PCon (_, _, _, SOME p) => doVars (p, ts)