Mention way to remove warning.

This commit is contained in:
chriseth 2017-03-06 13:31:57 +01:00
parent 5069c58a4b
commit f521fd7b19

View File

@ -1580,7 +1580,11 @@ void TypeChecker::endVisit(Literal const& _literal)
return;
}
else
warning(_literal.location(), "This looks like an address but has an invalid checksum.");
warning(
_literal.location(),
"This looks like an address but has an invalid checksum. "
"If this is not used as an address, please prepend '00'."
);
}
_literal.annotation().type = Type::forLiteral(_literal);
if (!_literal.annotation().type)