Use complete '__toString' attribute name

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
Guillaume Maudoux 2023-01-20 13:06:00 +01:00 committed by GitHub
parent ee4b849b17
commit a0642305ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2128,7 +2128,7 @@ std::optional<std::string> EvalState::tryAttrsToString(const PosIdx pos, Value &
Value v1;
callFunction(*i->value, v, v1, pos);
return coerceToString(pos, v1, context,
"while evaluating the result of the `toString` attribute",
"while evaluating the result of the `__toString` attribute",
coerceMore, copyToStore).toOwned();
}