Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Actually report errors from C3 inconsistency...
  • Loading branch information
sorear committed Oct 26, 2011
1 parent 9ee80cd commit 09b8ac7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/CodeGen.cs
Expand Up @@ -4063,7 +4063,9 @@ public class DowncallReceiver : CallReceiver {
return st.mo.isComposed;
} else if (cmd == "type_close") {
STable st = (STable)Handle.Unbox(args[1]);
st.mo.Compose();
string err = st.mo.Compose();
if (err != null)
return new Exception(err);
st.Invalidate();
return null;
} else if (cmd == "type_kind") {
Expand Down

0 comments on commit 09b8ac7

Please sign in to comment.