Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix stubbing of modules
  • Loading branch information
sorear committed Oct 26, 2011
1 parent 09b8ac7 commit 4c49318
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ObjModel.cs
Expand Up @@ -574,8 +574,10 @@ public class DispatchSet {
}

public string Compose() {
if (isComposed || rtype == "package" || rtype == "module")
if (isComposed || rtype == "package" || rtype == "module") {
isComposed = true;
return null;
}
if (isComposing)
return "Circularity detected while composing " + stable.name;
isComposing = true;
Expand Down

0 comments on commit 4c49318

Please sign in to comment.