Skip to content

Commit 506e9c4

Browse files
authored
Merge pull request #13152 from ethereum/fixWarningInDocs
Add warning comment to dangling references docs.
2 parents 416c3dc + 3f11228 commit 506e9c4

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)