Mercurial > urweb
diff src/monoize.sml @ 125:fd98dd10dce7
Corifying (non-mutual) 'val rec'
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 17 Jul 2008 10:23:04 -0400 |
parents | 91027db5a07c |
children | b04f7422c832 |
line wrap: on
line diff
--- a/src/monoize.sml Thu Jul 17 10:13:18 2008 -0400 +++ b/src/monoize.sml Thu Jul 17 10:23:04 2008 -0400 @@ -248,6 +248,7 @@ L.DCon _ => NONE | L.DVal (x, n, t, e, s) => SOME (Env.pushENamed env x n t (SOME e) s, (L'.DVal (x, n, monoType env t, monoExp env e, s), loc)) + | L.DValRec _ => raise Fail "Monoize DValRec" | L.DExport n => let val (_, t, _, s) = Env.lookupENamed env n