Skip to content

Commit

Permalink
Fix a clang-tidy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jeaye committed Feb 21, 2024
1 parent 4a92c37 commit a82a530
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/cpp/jank/read/parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ namespace jank::read::parse
}

auto const s(it->next_in_place()->first());
auto const res(runtime::visit_seqable(
return runtime::visit_seqable(
[&](auto const typed_s) -> processor::object_result {
auto const seq(typed_s->fresh_seq());
if(seq == nullptr)
Expand All @@ -582,8 +582,7 @@ namespace jank::read::parse
return err(error{ start_token.pos,
native_persistent_string{ "#?@ splice must be a sequence" } });
},

Check warning on line 584 in src/cpp/jank/read/parse.cpp

View check run for this annotation

Codecov / codecov/patch

src/cpp/jank/read/parse.cpp#L582-L584

Added lines #L582 - L584 were not covered by tests
s));
return res;
s);
}
else
{
Expand Down

0 comments on commit a82a530

Please sign in to comment.