mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 13:56:40 +00:00
Restructure CHECK to provide a stream (#660)
This commit is contained in:
1 parent
d5124256a2
commit
1ddb1a264a
4 files changed
+77
-10
No files matched your search
@@ -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