diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-15 19:43:26 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-03-18 01:06:52 +0800 |
commit | 16a91ef90aaf589361e34a10dcee2181ba6cb2ed (patch) | |
tree | 52058959e6e538ac0533b3afeccee53cee657cd8 /libsolidity/analysis | |
parent | f8da9a8fd5e2c709aa940402155faa30139ec9e1 (diff) | |
download | dexon-solidity-16a91ef90aaf589361e34a10dcee2181ba6cb2ed.tar.gz dexon-solidity-16a91ef90aaf589361e34a10dcee2181ba6cb2ed.tar.zst dexon-solidity-16a91ef90aaf589361e34a10dcee2181ba6cb2ed.zip |
Use declared instead of defined
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index 889b72b9..f6e4d6c8 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -469,7 +469,7 @@ bool TypeChecker::visit(FunctionDefinition const& _function) bool TypeChecker::visit(VariableDeclaration const& _variable) { if (m_scope->contractKind() == ContractDefinition::ContractKind::Interface) - typeError(_variable.location(), "Variables cannot be defined in interfaces."); + typeError(_variable.location(), "Variables cannot be declared in interfaces."); // Variables can be declared without type (with "var"), in which case the first assignment // sets the type. |