aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-07-16 23:00:47 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-08-01 23:18:17 +0800
commitce7c7aca798bd11f51e23ef0ff104405d09fb220 (patch)
treeb0f2dcc639dc87fc79b7b3beb8e625de6e5e1a6b /libsolidity
parent4bcc4d2fcffa15a0bee8b514098757a8764c152c (diff)
downloaddexon-solidity-ce7c7aca798bd11f51e23ef0ff104405d09fb220.tar.gz
dexon-solidity-ce7c7aca798bd11f51e23ef0ff104405d09fb220.tar.zst
dexon-solidity-ce7c7aca798bd11f51e23ef0ff104405d09fb220.zip
Extend code comment about signatures.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/analysis/DeclarationContainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/analysis/DeclarationContainer.cpp b/libsolidity/analysis/DeclarationContainer.cpp
index 59a3d522..347daaf8 100644
--- a/libsolidity/analysis/DeclarationContainer.cpp
+++ b/libsolidity/analysis/DeclarationContainer.cpp
@@ -49,7 +49,8 @@ Declaration const* DeclarationContainer::conflictingDeclaration(
dynamic_cast<MagicVariableDeclaration const*>(&_declaration)
)
{
- // check that all other declarations are of the same kind
+ // check that all other declarations are of the same kind (in which
+ // case the type checker will ensure that the signatures are different)
for (Declaration const* declaration: declarations)
{
if (