aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-21 18:07:30 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-03-21 22:53:29 +0800
commitc2709a2d8e53155513fa8002a564e434fce68c68 (patch)
tree39588b44be72002e805c517ff13fa4cde2a77fc4 /libsolidity/analysis
parentcc2f71e4acede70f6c220d3d0ba407ab73c2024c (diff)
downloaddexon-solidity-c2709a2d8e53155513fa8002a564e434fce68c68.tar.gz
dexon-solidity-c2709a2d8e53155513fa8002a564e434fce68c68.tar.zst
dexon-solidity-c2709a2d8e53155513fa8002a564e434fce68c68.zip
Decode dynamic data.
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r--libsolidity/analysis/TypeChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index c8e64c78..999a2a97 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -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");