mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove type check that is covered by assertions.
This commit is contained in:
parent
42240a69e9
commit
fc18258250
@ -569,7 +569,7 @@ string ABIFunctions::abiEncodingFunction(
|
||||
)");
|
||||
templ("functionName", functionName);
|
||||
|
||||
if (_from.dataStoredIn(DataLocation::Storage) && to.isValueType())
|
||||
if (_from.dataStoredIn(DataLocation::Storage))
|
||||
{
|
||||
// special case: convert storage reference type to value type - this is only
|
||||
// possible for library calls where we just forward the storage reference
|
||||
|
Loading…
Reference in New Issue
Block a user