Skip to content

Commit

Permalink
name shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
xhliu committed Apr 23, 2020
1 parent a527d17 commit 3f3aa18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,4 @@ Operators
Scoping
=======
Scoping in sCrypt follows the prevailing scoping rules of C99 and Solidity.
The only exception is that we do not allow shadowing names, which may change in the future.
Outer scope variable is shadowed by the inner scope variable of the same name.

0 comments on commit 3f3aa18

Please sign in to comment.