fix(frontend): 补充不支持语法的警告输出
This commit is contained in:
@@ -15,5 +15,5 @@ void IRGenImpl::GenStmt(const ast::Stmt& stmt) {
|
||||
builder_.CreateRet(v);
|
||||
return;
|
||||
}
|
||||
throw std::runtime_error("不支持的语句类型");
|
||||
throw std::runtime_error("[irgen] 暂不支持的语句类型");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user