mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
C99 scoping rules by default
This commit is contained in:
@@ -3,3 +3,5 @@ contract test {
|
||||
uint a = a;
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError: (64-65): Undeclared identifier. "a" is not (or not yet) visible at this point.
|
||||
|
||||
Reference in New Issue
Block a user