mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixes hex string update via isoltest.
This commit is contained in:
@@ -291,7 +291,7 @@ tuple<bytes, ABIType, string> TestFileParser::parseABITypeLiteral()
|
||||
if (alignment != DeclaredAlignment::None)
|
||||
throw Error(Error::Type::ParserError, "Hex string literals cannot be aligned or padded.");
|
||||
string parsed = parseHexNumber();
|
||||
rawString += parsed;
|
||||
rawString += "hex\"" + parsed + "\"";
|
||||
result = convertHexString(parsed);
|
||||
abiType = ABIType{ABIType::HexString, ABIType::AlignNone, result.size()};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user