Skip to content

Commit 3f11228

Browse files
committed
Add warning comment to dangling references docs.
1 parent 416c3dc commit 3f11228

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/types/reference-types.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ to long layout in storage<bytes-and-string>`.
555555
// SPDX-License-Identifier: GPL-3.0
556556
pragma solidity >=0.8.0 <0.9.0;
557557
558+
// This will report a warning
558559
contract C {
559560
bytes x = "012345678901234567890123456789";
560561

0 commit comments

Comments
 (0)