summaryrefslogtreecommitdiff
path: root/src/corify.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/corify.sml
parent3d3886672433f0775f772d8d2ee47c5f5e0bc745 (diff)
parent3044fbedd58961f8c1168eb3bc2eeeb8a2b0b60e (diff)
Merge branch 'upstream' into dfsg_clean20160213+dfsg
Diffstat (limited to 'src/corify.sml')
-rw-r--r--src/corify.sml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corify.sml b/src/corify.sml
index 5d58efcc..19cd3ec8 100644
--- a/src/corify.sml
+++ b/src/corify.sml
@@ -529,8 +529,7 @@ fun corifyPatCon st pc =
fun corifyPat st (p, loc) =
case p of
- L.PWild => (L'.PWild, loc)
- | L.PVar (x, t) => (L'.PVar (x, corifyCon st t), loc)
+ L.PVar (x, t) => (L'.PVar (x, corifyCon st t), loc)
| L.PPrim p => (L'.PPrim p, loc)
| L.PCon (dk, pc, ts, po) => (L'.PCon (dk, corifyPatCon st pc, map (corifyCon st) ts,
Option.map (corifyPat st) po), loc)