Fix shadowing/same-name warnings for later declarations

This commit is contained in:
a3d4
2020-10-08 20:22:04 +02:00
parent 3970c4e57d
commit f29ebc0847
13 changed files with 133 additions and 61 deletions
@@ -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.
@@ -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.