mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extend code comment about signatures.
This commit is contained in:
parent
4bcc4d2fcf
commit
ce7c7aca79
@ -49,7 +49,8 @@ Declaration const* DeclarationContainer::conflictingDeclaration(
|
|||||||
dynamic_cast<MagicVariableDeclaration const*>(&_declaration)
|
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)
|
for (Declaration const* declaration: declarations)
|
||||||
{
|
{
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user