diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-06-16 14:38:01 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-06-16 14:38:01 -0400 |
commit | b93aa3fc0a1aebc3be9e9a69f926eae0300ba253 (patch) | |
tree | 58dd4551f8c5d971e12e1c704f7abd9d90f3373e /src/elab_err.sml | |
parent | 9951d7544ba5deaea67864259001a21c12ff11ea (diff) |
Fix a bug in type class enrichment from substructures
Diffstat (limited to 'src/elab_err.sml')
-rw-r--r-- | src/elab_err.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elab_err.sml b/src/elab_err.sml index dc34560b..f6fec25b 100644 --- a/src/elab_err.sml +++ b/src/elab_err.sml @@ -218,7 +218,7 @@ fun expError env err = ("Type", p_con env c)]) co) | Unresolvable (loc, c) => (ErrorMsg.errorAt loc "Can't resolve type class instance"; - eprefaces' [("Class constraint", p_con env c)(*, + eprefaces' [("Class constraint", p_con env c), ("Class database", p_list (fn (c, rules) => box [P.p_con env c, PD.string ":", @@ -228,7 +228,7 @@ fun expError env err = PD.string ":", space, P.p_con env c]) rules]) - (E.listClasses env))*)]) + (E.listClasses env))]) | IllegalRec (x, e) => (ErrorMsg.errorAt (#2 e) "Illegal 'val rec' righthand side (must be a function abstraction)"; eprefaces' [("Variable", PD.string x), |