mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix shadowing/same-name warnings for later declarations
This commit is contained in:
+1
@@ -5,5 +5,6 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2519: (57-63): This declaration shadows an existing declaration.
|
||||
// Warning 2072: (57-63): Unused local variable.
|
||||
// Warning 2072: (75-81): Unused local variable.
|
||||
|
||||
+1
-1
@@ -6,5 +6,5 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2519: (73-79): This declaration shadows an existing declaration.
|
||||
// DeclarationError 2333: (91-97): Identifier already declared.
|
||||
// Warning 2519: (73-79): This declaration shadows an existing declaration.
|
||||
|
||||
Reference in New Issue
Block a user