Extend code comment about signatures.

This commit is contained in:
Daniel Kirchner
2018-08-01 17:18:17 +02:00
parent 4bcc4d2fcf
commit ce7c7aca79
@@ -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 (