mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 09:11:05 +01:00
Restructure CHECK to provide a stream (#660)
This commit is contained in:
@@ -807,7 +807,7 @@ void StepStmt() {
|
||||
Frame* frame = state->stack.Top();
|
||||
Action* act = frame->todo.Top();
|
||||
const Statement* stmt = act->GetStatementAction().stmt;
|
||||
CHECK(stmt != nullptr && "null statement!");
|
||||
CHECK(stmt != nullptr) << "null statement!";
|
||||
if (tracing_output) {
|
||||
std::cout << "--- step stmt ";
|
||||
PrintStatement(stmt, 1);
|
||||
|
||||
Reference in New Issue
Block a user