Skip to content

Commit 2f4a2d9

Browse files
fixup! Update natspec warning tests
1 parent 96d8b13 commit 2f4a2d9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/libsolidity/syntaxTests/inlineAssembly/memory_safe_dialect_string_and_comment.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ function f() pure {
55
}
66
// ----
77
// Warning 8544: (63-104): Inline assembly marked as memory safe using both a NatSpec tag and an assembly flag. If you are not concerned with backwards compatibility, only use the assembly flag, otherwise only use the NatSpec tag.
8-
// Warning 2424: (63-104): Natspec memory safe annotation for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9).
8+
// Warning 2424: (63-104): Natspec 'memory-safe-assembly' special comment for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9).

test/libsolidity/syntaxTests/inlineAssembly/natspec_multi.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ function f() pure {
1515
// Warning 6269: (189-200): Unexpected NatSpec tag "after" with value "bogus-value" in inline assembly.
1616
// Warning 6269: (189-200): Unexpected NatSpec tag "before" with value "bogus-value" in inline assembly.
1717
// Warning 8787: (189-200): Unexpected value for @solidity tag in inline assembly: a
18-
// Warning 2424: (189-200): Natspec memory safe annotation for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9).
18+
// Warning 2424: (189-200): Natspec 'memory-safe-assembly' special comment for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9).
1919
// Warning 8787: (189-200): Unexpected value for @solidity tag in inline assembly: b
2020
// Warning 8787: (189-200): Unexpected value for @solidity tag in inline assembly: c
2121
// Warning 8787: (189-200): Unexpected value for @solidity tag in inline assembly: d
22-
// Warning 2424: (289-300): Natspec memory safe annotation for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9).
22+
// Warning 2424: (289-300): Natspec 'memory-safe-assembly' special comment for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9).
2323
// Warning 8787: (289-300): Unexpected value for @solidity tag in inline assembly: a
2424
// Warning 4377: (289-300): Value for @solidity tag in inline assembly specified multiple times: a
2525
// Warning 4377: (289-300): Value for @solidity tag in inline assembly specified multiple times: memory-safe-assembly

test/libsolidity/syntaxTests/inlineAssembly/natspec_multi_swallowed.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function f() pure {
1414
// ----
1515
// Warning 6269: (177-188): Unexpected NatSpec tag "after" with value "bogus-value" in inline assembly.
1616
// Warning 6269: (177-188): Unexpected NatSpec tag "before" with value "@solidity a memory-safe-assembly b c d" in inline assembly.
17-
// Warning 2424: (277-288): Natspec memory safe annotation for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9).
17+
// Warning 2424: (277-288): Natspec 'memory-safe-assembly' special comment for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9).
1818
// Warning 8787: (277-288): Unexpected value for @solidity tag in inline assembly: a
1919
// Warning 4377: (277-288): Value for @solidity tag in inline assembly specified multiple times: a
2020
// Warning 4377: (277-288): Value for @solidity tag in inline assembly specified multiple times: memory-safe-assembly

0 commit comments

Comments
 (0)