Skip to content

Commit

Permalink
Update visitor.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Prevter authored Dec 28, 2024
1 parent 6314a63 commit 5f68961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ namespace rift {
return geode::Ok(!res.unwrap());
case TokenType::DOLLAR: {
auto val = res.unwrap().toString();
auto fmtRes = format(val, m_variables);
auto fmtRes = rift::format(val, m_variables);
if (fmtRes.isErr()) {
return node.error(fmt::format("SubExpressionError: {}", fmtRes.unwrapErr().message()));
}
Expand Down

0 comments on commit 5f68961

Please sign in to comment.