mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Decode dynamic data.
This commit is contained in:
committed by
Alex Beregszaszi
parent
cc2f71e4ac
commit
c2709a2d8e
@@ -1551,7 +1551,7 @@ bool TypeChecker::visit(FunctionCall const& _functionCall)
|
||||
_functionCall.expression().annotation().isPure &&
|
||||
functionType->isPure();
|
||||
|
||||
bool allowDynamicTypes = false; // @TODO
|
||||
bool allowDynamicTypes = m_evmVersion.supportsReturndata();
|
||||
if (!functionType)
|
||||
{
|
||||
m_errorReporter.typeError(_functionCall.location(), "Type is not callable");
|
||||
|
||||
Reference in New Issue
Block a user