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:
+1
-3
@@ -1,5 +1,3 @@
|
||||
pragma experimental "v0.5.0";
|
||||
|
||||
contract C {
|
||||
function f() internal {
|
||||
{
|
||||
@@ -9,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError: (130-131): Undeclared identifier.
|
||||
// DeclarationError: (99-100): Undeclared identifier.
|
||||
|
||||
Reference in New Issue
Block a user