Skip to content

Commit 37d0b91

Browse files
fixup! Update contract type deprecation warning tests
1 parent 9ac7fa2 commit 37d0b91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/libsolidity/syntaxTests/conversion/implicit_conversion_of_super_in_comparison.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ contract C {
2121
// ----
2222
// TypeError 2271: (144-157): Built-in binary operator != cannot be applied to types type(contract super C) and contract C.
2323
// TypeError 2271: (167-180): Built-in binary operator != cannot be applied to types contract C and type(contract super C).
24-
// Warning 9170: (167-180): Comparison of variables of contract type is deprecated and scheduled for removal in the next breaking version (0.9). Instead, use an explicit cast to address type.Instead, use an explicit cast to address type.
24+
// Warning 9170: (167-180): Comparison of variables of contract type is deprecated and scheduled for removal in the next breaking version (0.9). Instead, use an explicit cast to address type.
2525
// TypeError 2271: (254-264): Built-in binary operator != cannot be applied to types type(contract super C) and contract C.
2626
// TypeError 2271: (274-284): Built-in binary operator != cannot be applied to types contract C and type(contract super C).
27-
// Warning 9170: (274-284): Comparison of variables of contract type is deprecated and scheduled for removal in the next breaking version (0.9). Instead, use an explicit cast to address type.Instead, use an explicit cast to address type.
27+
// Warning 9170: (274-284): Comparison of variables of contract type is deprecated and scheduled for removal in the next breaking version (0.9). Instead, use an explicit cast to address type.
2828
// TypeError 2271: (349-359): Built-in binary operator != cannot be applied to types type(contract super C) and contract D.
2929
// TypeError 2271: (369-379): Built-in binary operator != cannot be applied to types contract D and type(contract super C).
30-
// Warning 9170: (369-379): Comparison of variables of contract type is deprecated and scheduled for removal in the next breaking version (0.9). Instead, use an explicit cast to address type.Instead, use an explicit cast to address type.
30+
// Warning 9170: (369-379): Comparison of variables of contract type is deprecated and scheduled for removal in the next breaking version (0.9). Instead, use an explicit cast to address type.

0 commit comments

Comments
 (0)