mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
This commit is contained in:
committed by
Christian Parpart
parent
7609710d4f
commit
9fb835b710
@@ -499,7 +499,7 @@ u256 AddressType::literalValue(Literal const* _literal) const
|
||||
{
|
||||
solAssert(_literal, "");
|
||||
solAssert(_literal->value().substr(0, 2) == "0x", "");
|
||||
return u256(_literal->value());
|
||||
return u256(_literal->valueWithoutUnderscores());
|
||||
}
|
||||
|
||||
TypePointer AddressType::unaryOperatorResult(Token::Value _operator) const
|
||||
|
||||
Reference in New Issue
Block a user