diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-05-04 23:30:28 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-05-04 23:30:28 +0800 |
commit | 730dc3e21b7ef31a977680f49fe74f24d22848a7 (patch) | |
tree | 2358162bc6357305eb5f769f8d74c0ec29794eea /NameAndTypeResolver.cpp | |
parent | e2d9ef69456501439f2237bacacc19f833eb6fb7 (diff) | |
download | dexon-solidity-730dc3e21b7ef31a977680f49fe74f24d22848a7.tar.gz dexon-solidity-730dc3e21b7ef31a977680f49fe74f24d22848a7.tar.zst dexon-solidity-730dc3e21b7ef31a977680f49fe74f24d22848a7.zip |
Update NameAndTypeResolver.cpp
Diffstat (limited to 'NameAndTypeResolver.cpp')
-rw-r--r-- | NameAndTypeResolver.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/NameAndTypeResolver.cpp b/NameAndTypeResolver.cpp index 813e0452..9aebbf05 100644 --- a/NameAndTypeResolver.cpp +++ b/NameAndTypeResolver.cpp @@ -376,7 +376,9 @@ void DeclarationRegistrationHelper::registerDeclaration(Declaration& _declaratio errinfo_sourceLocation(secondDeclarationLocation) << errinfo_comment("Identifier already declared.") << errinfo_secondarySourceLocation( - SecondarySourceLocation().append("The previous declaration is here:", firstDeclarationLocation))); + SecondarySourceLocation().append("The previous declaration is here:", firstDeclarationLocation) + ) + ); } _declaration.setScope(m_currentScope); |