aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-09-06 05:38:45 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-06 05:38:45 +0800
commit3326a2282e4bf5b83b14bc775a821806a204817e (patch)
treea4f97dc18102dc7f50366f35d5e8cc9a4d8355fa /libsolidity/analysis
parentf242331cc0600e971fa24eede3d3dc36df30bc33 (diff)
downloaddexon-solidity-3326a2282e4bf5b83b14bc775a821806a204817e.tar
dexon-solidity-3326a2282e4bf5b83b14bc775a821806a204817e.tar.gz
dexon-solidity-3326a2282e4bf5b83b14bc775a821806a204817e.tar.bz2
dexon-solidity-3326a2282e4bf5b83b14bc775a821806a204817e.tar.lz
dexon-solidity-3326a2282e4bf5b83b14bc775a821806a204817e.tar.xz
dexon-solidity-3326a2282e4bf5b83b14bc775a821806a204817e.tar.zst
dexon-solidity-3326a2282e4bf5b83b14bc775a821806a204817e.zip
Change array too large error message as it is valid for non-calldata too
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 7d5a0c8c..c46485d8 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -623,7 +623,7 @@ bool TypeChecker::visit(VariableDeclaration const& _variable)
(arrayType->location() == DataLocation::CallData)) &&
!arrayType->validForCalldata()
)
- m_errorReporter.typeError(_variable.location(), "Array is too large to be encoded as calldata.");
+ m_errorReporter.typeError(_variable.location(), "Array is too large to be encoded.");
return false;
}