aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-07-16 23:11:39 +0800
committerLeonardo Alt <leo@ethereum.org>2018-07-16 23:11:39 +0800
commitfdfdddd8dc34a3a31dd254b75c4b032e4b85679b (patch)
treecb2b8914e3101f4084b435a242ce80c351f6974f /libsolidity
parent29dae15c50277d52087f2eddea7d2033754e2c1f (diff)
downloaddexon-solidity-fdfdddd8dc34a3a31dd254b75c4b032e4b85679b.tar.gz
dexon-solidity-fdfdddd8dc34a3a31dd254b75c4b032e4b85679b.tar.zst
dexon-solidity-fdfdddd8dc34a3a31dd254b75c4b032e4b85679b.zip
Add missing period in the end of error messages
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/analysis/TypeChecker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index 72be7394..92e5c978 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -1951,7 +1951,7 @@ bool TypeChecker::visit(MemberAccess const& _memberAccess)
_memberAccess.location(),
"Member \"" + memberName + "\" not found or not visible "
"after argument-dependent lookup in " + exprType->toString() +
- (memberName == "value" ? " - did you forget the \"payable\" modifier?" : "")
+ (memberName == "value" ? " - did you forget the \"payable\" modifier?" : ".")
);
}
else if (possibleMembers.size() > 1)
@@ -1959,7 +1959,7 @@ bool TypeChecker::visit(MemberAccess const& _memberAccess)
_memberAccess.location(),
"Member \"" + memberName + "\" not unique "
"after argument-dependent lookup in " + exprType->toString() +
- (memberName == "value" ? " - did you forget the \"payable\" modifier?" : "")
+ (memberName == "value" ? " - did you forget the \"payable\" modifier?" : ".")
);
auto& annotation = _memberAccess.annotation();
@@ -1971,7 +1971,7 @@ bool TypeChecker::visit(MemberAccess const& _memberAccess)
m_errorReporter.typeError(
_memberAccess.location(),
"Function \"" + memberName + "\" cannot be called on an object of type " +
- exprType->toString() + " (expected " + funType->selfType()->toString() + ")"
+ exprType->toString() + " (expected " + funType->selfType()->toString() + ")."
);
if (exprType->category() == Type::Category::Struct)