diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-17 10:23:04 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-17 10:23:04 -0400 |
commit | e3313edc92a73932ff57b1c803fe7e408283406f (patch) | |
tree | 285b8ca2c5c71dfb0c48b0b8e56727cf37592129 /src/tag.sml | |
parent | 1e03bdf0b6f423870abcf5e54ae7f2bdf08e3e49 (diff) |
Corifying (non-mutual) 'val rec'
Diffstat (limited to 'src/tag.sml')
-rw-r--r-- | src/tag.sml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tag.sml b/src/tag.sml index e451281a..301e0977 100644 --- a/src/tag.sml +++ b/src/tag.sml @@ -132,6 +132,7 @@ fun tag file = case d of DCon (_, n, _, _) => Int.max (n, count) | DVal (_, n, _, _, _) => Int.max (n, count) + | DValRec vis => foldl (fn ((_, n, _, _, _), count) => Int.max (n, count)) count vis | DExport _ => count) 0 file fun doDecl (d as (d', loc), (env, count, tags, byTag)) = |