Extend code comment about signatures.

This commit is contained in:
Daniel Kirchner 2018-07-16 17:00:47 +02:00
parent 4bcc4d2fcf
commit ce7c7aca79

View File

@ -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 (