Skip to content

Commit

Permalink
Some platforms were incorectly converting an exception to a value.
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrainge committed Aug 22, 2024
1 parent af1ada7 commit 5d2b758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ namespace sorth
{
pc = catch_locations.back() - 1;
catch_locations.pop_back();
push(error.what());
push(std::string(error.what()));
}
else
{
Expand Down

0 comments on commit 5d2b758

Please sign in to comment.