Skip to content

Commit

Permalink
bugprone
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Feb 11, 2025
1 parent 8439258 commit ae14743
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions compiler+runtime/src/cpp/jank/analyze/step/force_boxed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,8 @@ namespace jank::analyze::step
boost::apply_visitor(f, typed_expr.values.back()->data);
}
}
else if constexpr(std::same_as<T, expr::let<expression>>)
{
if(!typed_expr.body.values.empty())
{
boost::apply_visitor(f, typed_expr.body.values.back()->data);
}
}
else if constexpr(std::same_as<T, expr::letfn<expression>>)
else if constexpr(std::same_as<T, expr::let<expression>>
|| std::same_as<T, expr::letfn<expression>>)
{
if(!typed_expr.body.values.empty())
{
Expand Down

0 comments on commit ae14743

Please sign in to comment.