Skip to content

Commit ce273f4

Browse files
committed
[Sema] Downgrade an ASSERT for 6.2
1 parent a9d72fb commit ce273f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeCheckExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ Expr *CallerSideDefaultArgExprRequest::evaluate(
797797
// simple literals.
798798
transaction.abort();
799799
(void)param->getTypeCheckedDefaultExpr();
800-
ASSERT(ctx.Diags.hadAnyError());
800+
CONDITIONAL_ASSERT(ctx.Diags.hadAnyError());
801801
}
802802
return new (ctx) ErrorExpr(initExpr->getSourceRange(), paramTy);
803803
}

0 commit comments

Comments
 (0)