Skip to content

Commit

Permalink
fix assert fail in metadata. (#741)
Browse files Browse the repository at this point in the history
  • Loading branch information
vwxyzh authored Sep 27, 2016
1 parent 65714b7 commit 583012f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ internal string AddSpecReference(
{
originalSymbol = reducedFrom;
}
reference.IsDefinition = (originalSymbol == symbol) && (id == rawId) && symbol.IsDefinition;
reference.IsDefinition = (originalSymbol == symbol) && (id == rawId) && (symbol.IsDefinition || VisitorHelper.GetId(symbol.OriginalDefinition) == rawId);

if (!reference.IsDefinition.Value && rawId != null)
{
Expand Down

0 comments on commit 583012f

Please sign in to comment.