Fix tests after rebase

This commit is contained in:
Leonardo Alt 2020-07-23 12:58:15 +02:00
parent d70ebbb62d
commit 95484d9969
44 changed files with 59 additions and 72 deletions

View File

@ -7,4 +7,4 @@ contract C {
}
}
// ----
// Warning 2529: (76-83): Empty array "pop" detected here.
// Warning 2529: (76-83): Empty array "pop" detected here

View File

@ -8,5 +8,5 @@ contract C {
}
}
// ----
// Warning 4661: (113-139): Assertion violation happens here
// Warning 4661: (143-189): Assertion violation happens here
// Warning 6328: (113-139): Assertion violation happens here
// Warning 6328: (143-189): Assertion violation happens here

View File

@ -10,6 +10,6 @@ contract C {
}
}
// ----
// Warning 4661: (122-148): Assertion violation happens here
// Warning 4661: (202-218): Assertion violation happens here
// Warning 4661: (222-278): Assertion violation happens here
// Warning 6328: (122-148): Assertion violation happens here
// Warning 6328: (202-218): Assertion violation happens here
// Warning 6328: (222-278): Assertion violation happens here

View File

@ -15,4 +15,4 @@ contract C {
}
}
// ----
// Warning 4661: (184-213): Assertion violation happens here
// Warning 6328: (184-213): Assertion violation happens here

View File

@ -26,4 +26,4 @@ contract C {
}
}
// ----
// Warning 4661: (423-445): Assertion violation happens here
// Warning 6328: (423-445): Assertion violation happens here

View File

@ -28,4 +28,4 @@ contract C {
}
}
// ----
// Warning 4661: (431-453): Assertion violation happens here
// Warning 6328: (431-453): Assertion violation happens here

View File

@ -34,5 +34,5 @@ contract C {
}
}
// ----
// Warning 6328: (528-565): Assertion violation happens here
// Warning 5084: (544-554): Type conversion is not yet fully supported and might yield false positives.
// Warning 4661: (528-565): Assertion violation happens here

View File

@ -29,4 +29,4 @@ contract C {
}
}
// ----
// Warning 4661: (299-313): Assertion violation happens here
// Warning 6328: (299-313): Assertion violation happens here

View File

@ -42,8 +42,6 @@ contract C {
}
}
// ----
// Warning 6328: (459-473): Assertion violation happens here
// Warning 6328: (477-503): Assertion violation happens here
// Warning 6328: (452-466): Assertion violation happens here
// Warning 6328: (470-496): Assertion violation happens here
// Warning 5084: (92-102): Type conversion is not yet fully supported and might yield false positives.
// Warning 4661: (452-466): Assertion violation happens here
// Warning 4661: (470-496): Assertion violation happens here

View File

@ -34,8 +34,6 @@ contract C {
}
}
// ----
// Warning 6328: (388-402): Assertion violation happens here
// Warning 6328: (406-432): Assertion violation happens here
// Warning 6328: (381-395): Assertion violation happens here
// Warning 6328: (399-425): Assertion violation happens here
// Warning 5084: (116-126): Type conversion is not yet fully supported and might yield false positives.
// Warning 4661: (381-395): Assertion violation happens here
// Warning 4661: (399-425): Assertion violation happens here

View File

@ -38,6 +38,6 @@ contract C {
}
}
// ----
// Warning 4661: (435-461): Assertion violation happens here
// Warning 6328: (435-461): Assertion violation happens here
// Warning 6328: (594-631): Assertion violation happens here
// Warning 5084: (610-620): Type conversion is not yet fully supported and might yield false positives.
// Warning 4661: (594-631): Assertion violation happens here

View File

@ -13,4 +13,4 @@ contract A is C {
}
}
// ----
// Warning 4661: (152-166): Assertion violation happens here
// Warning 6328: (152-166): Assertion violation happens here

View File

@ -4,4 +4,4 @@ contract A is C { constructor() C(2) { assert(a == 2); } }
contract B is C { constructor() C(3) { assert(a == 3); } }
contract J is C { constructor() C(3) { assert(a == 4); } }
// ----
// Warning 4661: (243-257): Assertion violation happens here
// Warning 6328: (243-257): Assertion violation happens here

View File

@ -19,6 +19,6 @@ contract A is B {
}
}
// ----
// Warning 6328: (232-250): Assertion violation happens here
// Warning 2661: (203-208): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (244-249): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (232-250): Assertion violation happens here

View File

@ -25,7 +25,7 @@ contract A is B2, B1 {
}
}
// ----
// Warning 6328: (302-320): Assertion violation happens here
// Warning 2661: (200-205): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (200-205): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (314-319): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (302-320): Assertion violation happens here

View File

@ -25,7 +25,7 @@ contract A is B2, B1 {
}
}
// ----
// Warning 6328: (302-320): Assertion violation happens here
// Warning 2661: (200-205): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (200-205): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (314-319): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (302-320): Assertion violation happens here

View File

@ -27,6 +27,7 @@ contract A is B2, B1 {
}
}
// ----
// Warning 6328: (334-350): Assertion violation happens here
// Warning 4144: (160-165): Underflow (resulting value less than 0) happens here
// Warning 2661: (160-165): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (225-230): Overflow (resulting value larger than 2**256 - 1) happens here
@ -34,4 +35,3 @@ contract A is B2, B1 {
// Warning 2661: (225-230): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (241-246): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (160-165): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (334-350): Assertion violation happens here

View File

@ -20,4 +20,4 @@ contract A is B, B2 {
}
// ----
// Warning 5667: (164-170): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning 4661: (194-208): Assertion violation happens here
// Warning 6328: (194-208): Assertion violation happens here

View File

@ -19,4 +19,4 @@ contract A is B {
}
// ----
// Warning 5667: (194-200): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning 4661: (224-238): Assertion violation happens here
// Warning 6328: (224-238): Assertion violation happens here

View File

@ -17,4 +17,4 @@ contract A is B {
}
// ----
// Warning 5667: (138-144): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning 4661: (172-186): Assertion violation happens here
// Warning 6328: (172-186): Assertion violation happens here

View File

@ -16,4 +16,4 @@ contract A is B {
}
// ----
// Warning 5667: (138-144): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning 4661: (150-164): Assertion violation happens here
// Warning 6328: (150-164): Assertion violation happens here

View File

@ -27,4 +27,4 @@ contract A is B {
}
// ----
// Warning 5667: (254-260): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning 4661: (284-298): Assertion violation happens here
// Warning 6328: (284-298): Assertion violation happens here

View File

@ -32,4 +32,4 @@ contract A is B {
}
// ----
// Warning 5667: (296-302): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning 4661: (357-372): Assertion violation happens here
// Warning 6328: (357-372): Assertion violation happens here

View File

@ -25,6 +25,6 @@ contract A is B {
}
}
// ----
// Warning 6328: (328-342): Assertion violation happens here
// Warning 2661: (247-252): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (247-252): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (328-342): Assertion violation happens here

View File

@ -23,5 +23,4 @@ contract B is C {
contract A is B {
}
// ----
// Warning 4661: (266-280): Assertion violation happens here
// Warning 4661: (266-280): Assertion violation happens here
// Warning 6328: (266-280): Assertion violation happens here

View File

@ -14,4 +14,4 @@ contract A is C {
}
}
// ----
// Warning 4661: (188-202): Assertion violation happens here
// Warning 6328: (188-202): Assertion violation happens here

View File

@ -13,5 +13,5 @@ contract A is C {
}
}
// ----
// Warning 4661: (134-148): Assertion violation happens here
// Warning 4661: (152-168): Assertion violation happens here
// Warning 6328: (134-148): Assertion violation happens here
// Warning 6328: (152-168): Assertion violation happens here

View File

@ -13,4 +13,4 @@ contract C {
}
}
// ----
// Warning 4661: (141-155): Assertion violation happens here
// Warning 6328: (141-155): Assertion violation happens here

View File

@ -13,4 +13,4 @@ contract C {
}
}
// ----
// Warning 4661: (145-159): Assertion violation happens here
// Warning 6328: (145-159): Assertion violation happens here

View File

@ -15,4 +15,4 @@ contract C is B {
}
}
// ----
// Warning 4661: (165-179): Assertion violation happens here
// Warning 6328: (165-179): Assertion violation happens here

View File

@ -13,5 +13,5 @@ contract C {
}
}
// ----
// Warning 4661: (162-176): Assertion violation happens here
// Warning 6328: (162-176): Assertion violation happens here
// Warning 2661: (115-120): Overflow (resulting value larger than 2**256 - 1) happens here

View File

@ -21,12 +21,10 @@ contract C{
}
// ----
// Warning 5667: (70-76): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning 4661: (138-152): Assertion violation happens here
// Warning 6328: (138-152): Assertion violation happens here
// Warning 6328: (170-184): Assertion violation happens here
// Warning 6328: (220-234): Assertion violation happens here
// Warning 6328: (245-259): Assertion violation happens here
// Warning 6328: (82-96): Assertion violation happens here
// Warning 2661: (156-159): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (220-234): Assertion violation happens here
// Warning 4661: (245-259): Assertion violation happens here
// Warning 4661: (170-184): Assertion violation happens here
// Warning 4661: (220-234): Assertion violation happens here
// Warning 4144: (238-241): Underflow (resulting value less than 0) happens here
// Warning 4661: (245-259): Assertion violation happens here
// Warning 4661: (82-96): Assertion violation happens here

View File

@ -18,10 +18,7 @@ contract C is A {
}
// ----
// Warning 6328: (82-96): Assertion violation happens here
// Warning 6328: (155-169): Assertion violation happens here
// Warning 6328: (187-201): Assertion violation happens here
// Warning 6328: (148-162): Assertion violation happens here
// Warning 6328: (180-194): Assertion violation happens here
// Warning 4144: (100-103): Underflow (resulting value less than 0) happens here
// Warning 4144: (100-103): Underflow (resulting value less than 0) happens here
// Warning 4661: (148-162): Assertion violation happens here
// Warning 4661: (82-96): Assertion violation happens here
// Warning 4661: (180-194): Assertion violation happens here

View File

@ -21,10 +21,10 @@ contract C{
}
// ----
// Warning 5667: (70-76): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning 4661: (138-152): Assertion violation happens here
// Warning 6328: (138-152): Assertion violation happens here
// Warning 6328: (184-198): Assertion violation happens here
// Warning 6328: (82-96): Assertion violation happens here
// Warning 2661: (156-159): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (163-166): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (234-237): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (184-198): Assertion violation happens here
// Warning 4144: (234-237): Underflow (resulting value less than 0) happens here
// Warning 4661: (82-96): Assertion violation happens here

View File

@ -25,6 +25,6 @@ contract A is B {
}
}
// ----
// Warning 6328: (328-342): Assertion violation happens here
// Warning 2661: (247-252): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (247-252): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (328-342): Assertion violation happens here

View File

@ -8,4 +8,4 @@ contract C {
}
}
// ----
// Warning 4661: (97-111): Assertion violation happens here
// Warning 6328: (97-111): Assertion violation happens here

View File

@ -11,4 +11,4 @@ contract D is C {
}
}
// ----
// Warning 4661: (117-131): Assertion violation happens here
// Warning 6328: (117-131): Assertion violation happens here

View File

@ -19,4 +19,4 @@ contract D is C {
}
}
// ----
// Warning 4661: (211-225): Assertion violation happens here
// Warning 6328: (211-225): Assertion violation happens here

View File

@ -18,4 +18,4 @@ contract D is C {
}
}
// ----
// Warning 4661: (185-199): Assertion violation happens here
// Warning 6328: (185-199): Assertion violation happens here

View File

@ -22,6 +22,7 @@ contract A is B {
}
// ----
// Warning 6328: (275-293): Assertion violation happens here
// Warning 4144: (157-162): Underflow (resulting value less than 0) happens here
// Warning 2661: (157-162): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (216-221): Overflow (resulting value larger than 2**256 - 1) happens here
@ -30,4 +31,3 @@ contract A is B {
// Warning 2661: (261-266): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (261-270): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (287-292): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (275-293): Assertion violation happens here

View File

@ -22,10 +22,10 @@ contract A is B {
}
// ----
// Warning 6328: (273-291): Assertion violation happens here
// Warning 2661: (157-163): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (217-222): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (157-163): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (240-245): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (262-268): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 2661: (285-290): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (273-291): Assertion violation happens here

View File

@ -17,4 +17,4 @@ contract D is B, C {
}
}
// ----
// Warning 4661: (162-176): Assertion violation happens here
// Warning 6328: (162-176): Assertion violation happens here

View File

@ -19,4 +19,4 @@ contract D is B, C {
}
}
// ----
// Warning 4661: (214-228): Assertion violation happens here
// Warning 6328: (214-228): Assertion violation happens here

View File

@ -21,9 +21,6 @@ contract C
// Warning 6328: (208-240): Assertion violation happens here
// Warning 6328: (244-275): Assertion violation happens here
// Warning 6328: (304-332): Assertion violation happens here
// Warning 6328: (336-352): Assertion violation happens here
// Warning 6328: (356-379): Assertion violation happens here
// Warning 6328: (336-364): Assertion violation happens here
// Warning 6328: (368-391): Assertion violation happens here
// Warning 2661: (311-316): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 4661: (304-332): Assertion violation happens here
// Warning 4661: (336-364): Assertion violation happens here
// Warning 4661: (368-391): Assertion violation happens here