diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-08-09 16:48:32 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-08-09 16:48:32 -0400 |
commit | 3e59b823392701f538f972d689d04b0182696e51 (patch) | |
tree | 5a4f935084c734ee1634b76abe5d2d5f1abf8bcc /src/mono_env.sml | |
parent | e699687ba2ff0cc2c7c185c4d99669f77093473b (diff) |
Lists all the way through
Diffstat (limited to 'src/mono_env.sml')
-rw-r--r-- | src/mono_env.sml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mono_env.sml b/src/mono_env.sml index 3beced1c..60b22642 100644 --- a/src/mono_env.sml +++ b/src/mono_env.sml @@ -98,7 +98,7 @@ fun declBinds env (d, loc) = DDatatype (x, n, xncs) => let val env = pushDatatype env x n xncs - val dt = (TDatatype (MonoUtil.classifyDatatype xncs, n, xncs), loc) + val dt = (TDatatype (n, ref (MonoUtil.classifyDatatype xncs, xncs)), loc) in foldl (fn ((x', n', NONE), env) => pushENamed env x' n' dt NONE "" | ((x', n', SOME t), env) => pushENamed env x' n' (TFun (t, dt), loc) NONE "") |