Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
antis81 committed Jul 16, 2023
1 parent 7832c97 commit 932064b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assembler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ void Assembler::setSym(std::string_view sym, std::any val)
AsmValue to_variant(std::any const& a, std::string_view identifier)
{
if (!a.has_value()) {
throw parse_error(fmt::format("Cannot convert a 'None' {} value from to AsmValue", identifier));
throw parse_error(fmt::format("Cannot convert a 'None' {} value to AsmValue", identifier));
}
if (auto const* n = std::any_cast<Number>(&a))
{
Expand Down

0 comments on commit 932064b

Please sign in to comment.