mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Unimplemented assert for conversion from calldata slices to memory.
This commit is contained in:
parent
d0b6de580f
commit
309f0fbc8a
@ -1022,6 +1022,10 @@ void CompilerUtils::convertType(
|
||||
case Type::Category::ArraySlice:
|
||||
{
|
||||
auto& typeOnStack = dynamic_cast<ArraySliceType const&>(_typeOnStack);
|
||||
solUnimplementedAssert(
|
||||
_targetType.dataStoredIn(DataLocation::CallData),
|
||||
"Conversion from calldata slices to memory not yet implemented."
|
||||
);
|
||||
solAssert(_targetType == typeOnStack.arrayType(), "");
|
||||
solUnimplementedAssert(
|
||||
typeOnStack.arrayType().location() == DataLocation::CallData &&
|
||||
|
Loading…
Reference in New Issue
Block a user