Skip to content

Commit

Permalink
refactor: references to excluded symbols are not an error
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed May 29, 2024
1 parent 7ebe30a commit a567f80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib/Metadata/Finalize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,17 @@ class Finalizer

if constexpr(std::derived_from<NodeTy, doc::Reference>)
{
#if 0
// This warning shouldn't be triggered if the symbol has
// been explicitly marked excluded in mrdocs.yml
if(! resolveReference(N))
{
report::warn("Failed to resolve reference to '{}' from '{}'",
N.string, current_->Name);
}
#else
resolveReference(N);
#endif
}
});
}
Expand Down

0 comments on commit a567f80

Please sign in to comment.