Skip to content

Commit

Permalink
fix: invalid assert in parseJavadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
vinniefalco committed Jul 9, 2023
1 parent dd79d58 commit 09854bc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/AST/ParseJavadoc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,15 +943,9 @@ parseJavadoc(
Diagnostics& diags)
{
if(! RC)
{
MRDOX_ASSERT(! jd);
return;
}

RC->setAttached();

auto result = JavadocVisitor(RC, D, config, diags).build();

if(jd == nullptr)
{
jd = std::make_unique<Javadoc>(std::move(result));
Expand Down

0 comments on commit 09854bc

Please sign in to comment.