mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Update NameAndTypeResolver.cpp
This commit is contained in:
		
							parent
							
								
									e2d9ef6945
								
							
						
					
					
						commit
						730dc3e21b
					
				| @ -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…
	
		Reference in New Issue
	
	Block a user