Mercurial > urweb
diff src/elab_env.sml @ 328:58f1260f293f
Fixed a mind-numbing De Bruijn bug
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 11 Sep 2008 19:59:31 -0400 |
parents | 59dc042629b9 |
children | e976b187d73a |
line wrap: on
line diff
--- a/src/elab_env.sml Thu Sep 11 18:36:20 2008 -0400 +++ b/src/elab_env.sml Thu Sep 11 19:59:31 2008 -0400 @@ -241,7 +241,8 @@ }) (#classes env), - renameE = #renameE env, + renameE = SM.map (fn Rel' (n, c) => Rel' (n, lift c) + | Named' (n, c) => Named' (n, lift c)) (#renameE env), relE = map (fn (x, c) => (x, lift c)) (#relE env), namedE = IM.map (fn (x, c) => (x, lift c)) (#namedE env),