Browse Source

Update NameAndTypeResolver.cpp

cl-refactor
Liana Husikyan 10 years ago
parent
commit
3cfe1cabda
  1. 4
      libsolidity/NameAndTypeResolver.cpp

4
libsolidity/NameAndTypeResolver.cpp

@ -376,7 +376,9 @@ void DeclarationRegistrationHelper::registerDeclaration(Declaration& _declaratio
errinfo_sourceLocation(secondDeclarationLocation) << errinfo_sourceLocation(secondDeclarationLocation) <<
errinfo_comment("Identifier already declared.") << errinfo_comment("Identifier already declared.") <<
errinfo_secondarySourceLocation( errinfo_secondarySourceLocation(
SecondarySourceLocation().append("The previous declaration is here:", firstDeclarationLocation))); SecondarySourceLocation().append("The previous declaration is here:", firstDeclarationLocation)
)
);
} }
_declaration.setScope(m_currentScope); _declaration.setScope(m_currentScope);

Loading…
Cancel
Save