diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-06-13 14:13:06 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-06-13 14:13:06 -0400 |
commit | fdce2b90afbf31a31b312e52c0fc97434e9638a8 (patch) | |
tree | 5dced3d3a8af23f27538d99bc31bcf107222a15a /src/reduce_local.sml | |
parent | ab23256c70d97509cf4dea53fd9ec8969966cfa9 (diff) |
Catch a missed ReduceLocal of field projection annotations
Diffstat (limited to 'src/reduce_local.sml')
-rw-r--r-- | src/reduce_local.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reduce_local.sml b/src/reduce_local.sml index 1be2b14b..9370c95b 100644 --- a/src/reduce_local.sml +++ b/src/reduce_local.sml @@ -286,12 +286,12 @@ fun exp env (all as (e, loc)) = | EKAbs (x, e) => (EKAbs (x, exp env e), loc) | ERecord xcs => (ERecord (map (fn (x, e, t) => (con env x, exp env e, con env t)) xcs), loc) - | EField (e, c, others) => + | EField (e, c, {field = f, rest = r}) => let val e = exp env e val c = con env c - fun default () = (EField (e, c, others), loc) + fun default () = (EField (e, c, {field = con env f, rest = con env r}), loc) in case (#1 e, #1 c) of (ERecord xcs, CName x) => |