summaryrefslogtreecommitdiff
path: root/src/iflow.sml
diff options
context:
space:
mode:
authorGravatar Ziv Scully <ziv@mit.edu>2015-09-13 17:02:17 -0400
committerGravatar Ziv Scully <ziv@mit.edu>2015-09-13 17:02:17 -0400
commit68879bbb4bf58e4709c96ba6904071ce5d24a906 (patch)
tree163346ebe21b265592fb687e4f55af494880e15c /src/iflow.sml
parent46fe4e62ddefd8f79f4a29f7a273f585436d3c85 (diff)
Make Mono.file a record for readability upon extension.
Diffstat (limited to 'src/iflow.sml')
-rw-r--r--src/iflow.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iflow.sml b/src/iflow.sml
index b8346baa..6ed7e69d 100644
--- a/src/iflow.sml
+++ b/src/iflow.sml
@@ -1900,7 +1900,7 @@ fun check (file : file) =
val exptd = foldl (fn ((d, _), exptd) =>
case d of
DExport (_, _, n, _, _, _) => IS.add (exptd, n)
- | _ => exptd) IS.empty (#1 file)
+ | _ => exptd) IS.empty (#decls file)
fun decl (d, loc) =
case d of
@@ -2164,7 +2164,7 @@ fun check (file : file) =
| _ => ()
in
- app decl (#1 file)
+ app decl (#decls file)
end
val check = fn file =>