Skip to content

Commit cecd02d

Browse files
Mention that dots are still allowed in variables/function names in yul-only mode
1 parent 19db669 commit cecd02d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/assembly.rst

+2
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ shadow any declaration visible in the scope of the inline assembly block
216216
Since Solidity 0.7.0, variables and functions declared inside the
217217
inline assembly block may not contain ``.``, but using ``.`` is
218218
valid to access Solidity variables from outside the inline assembly block.
219+
However, it is still valid to use ``.`` if you use Solidity in Yul-only mode,
220+
e.g, with ``--assemble`` or ``--strict-assembly``.
219221

220222
Things to Avoid
221223
---------------

0 commit comments

Comments
 (0)