Skip to content

Commit

Permalink
handle type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tklip committed Dec 16, 2024
1 parent 9e28a04 commit 74f92f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nso_rr.h
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,9 @@ rr<tau<BAs...>> infer_ref_types(const rr<tau<BAs...>>& nso_rr) {
}
}

for (const auto& err : ts.errors) BOOST_LOG_TRIVIAL(error) << "(Error) " << err;
for (const auto& err : ts.errors)
BOOST_LOG_TRIVIAL(error) << "(Error) " << err;
if (ts.errors.size()) return { {}, nullptr };

if (todo_names.size()) {
std::stringstream ss;
Expand Down

0 comments on commit 74f92f5

Please sign in to comment.