diff options
author | Adam Chlipala <adam@chlipala.net> | 2015-11-01 16:33:14 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2015-11-01 16:33:14 -0500 |
commit | c0670f7c2517948966a5c037b401304a67bb85c6 (patch) | |
tree | 42d718d6a1e75cbcc074dc72c73b40318349f5ba /src/explify.sml | |
parent | 764c3b15d459a42ef6222a82f93a38937d2ac141 (diff) |
After a tricky debugging session, limit visibility of type-class instances from anonymous modules
Diffstat (limited to 'src/explify.sml')
-rw-r--r-- | src/explify.sml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/explify.sml b/src/explify.sml index fd0f3277..f38151d2 100644 --- a/src/explify.sml +++ b/src/explify.sml @@ -150,7 +150,7 @@ fun explifySgi (sgi, loc) = SOME (L'.SgiDatatypeImp (x, n, m1, ms, s, xs, map (fn (x, n, co) => (x, n, Option.map explifyCon co)) xncs), loc) | L.SgiVal (x, n, c) => SOME (L'.SgiVal (x, n, explifyCon c), loc) - | L.SgiStr (x, n, sgn) => SOME (L'.SgiStr (x, n, explifySgn sgn), loc) + | L.SgiStr (_, x, n, sgn) => SOME (L'.SgiStr (x, n, explifySgn sgn), loc) | L.SgiSgn (x, n, sgn) => SOME (L'.SgiSgn (x, n, explifySgn sgn), loc) | L.SgiConstraint _ => NONE | L.SgiClassAbs (x, n, k) => SOME (L'.SgiConAbs (x, n, (L'.KArrow (explifyKind k, (L'.KType, loc)), loc)), loc) |