Updating tests after improving Yul error reporting

This commit is contained in:
hrkrshnn
2021-02-09 16:55:33 +01:00
parent 5a21e33743
commit 8167029dc1
42 changed files with 185 additions and 185 deletions
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// DeclarationError 8198: (72-77): Identifier not found.
// DeclarationError 8198: (72-77): Identifier "super" not found.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// DeclarationError 8678: (87-96): Variable count does not match number of values (2 vs. 1)
// DeclarationError 8678: (87-96): Variable count for assignment to "x, y" does not match number of values (2 vs. 1)
@@ -15,7 +15,7 @@ contract C {
// EVMVersion: =homestead
// ----
// TypeError 4778: (86-100): The "returndatasize" instruction is only available for Byzantium-compatible VMs (you are currently compiling for "homestead").
// DeclarationError 3812: (77-102): Variable count mismatch: 1 variables and 0 values.
// DeclarationError 3812: (77-102): Variable count mismatch for declaration of "s": 1 variables and 0 values.
// TypeError 7756: (115-129): The "returndatacopy" instruction is only available for Byzantium-compatible VMs (you are currently compiling for "homestead").
// TypeError 1503: (245-255): The "staticcall" instruction is only available for Byzantium-compatible VMs (you are currently compiling for "homestead").
// DeclarationError 8678: (238-277): Variable count does not match number of values (1 vs. 0)
// DeclarationError 8678: (238-277): Variable count for assignment to "ret" does not match number of values (1 vs. 0)
@@ -21,12 +21,12 @@ contract C {
// EVMVersion: =byzantium
// ----
// TypeError 6612: (103-106): The "shl" instruction is only available for Constantinople-compatible VMs (you are currently compiling for "byzantium").
// DeclarationError 8678: (96-116): Variable count does not match number of values (1 vs. 0)
// DeclarationError 8678: (96-116): Variable count for assignment to "ret" does not match number of values (1 vs. 0)
// TypeError 7458: (136-139): The "shr" instruction is only available for Constantinople-compatible VMs (you are currently compiling for "byzantium").
// DeclarationError 8678: (129-147): Variable count does not match number of values (1 vs. 0)
// DeclarationError 8678: (129-147): Variable count for assignment to "ret" does not match number of values (1 vs. 0)
// TypeError 2054: (167-170): The "sar" instruction is only available for Constantinople-compatible VMs (you are currently compiling for "byzantium").
// DeclarationError 8678: (160-178): Variable count does not match number of values (1 vs. 0)
// DeclarationError 8678: (160-178): Variable count for assignment to "ret" does not match number of values (1 vs. 0)
// TypeError 6166: (283-290): The "create2" instruction is only available for Constantinople-compatible VMs (you are currently compiling for "byzantium").
// DeclarationError 8678: (276-302): Variable count does not match number of values (1 vs. 0)
// DeclarationError 8678: (276-302): Variable count for assignment to "ret" does not match number of values (1 vs. 0)
// TypeError 7110: (412-423): The "extcodehash" instruction is only available for Constantinople-compatible VMs (you are currently compiling for "byzantium").
// DeclarationError 8678: (405-434): Variable count does not match number of values (1 vs. 0)
// DeclarationError 8678: (405-434): Variable count for assignment to "ret" does not match number of values (1 vs. 0)
@@ -14,6 +14,6 @@ contract C {
// EVMVersion: =petersburg
// ----
// TypeError 1561: (101-108): The "chainid" instruction is only available for Istanbul-compatible VMs (you are currently compiling for "petersburg").
// DeclarationError 8678: (95-110): Variable count does not match number of values (1 vs. 0)
// DeclarationError 8678: (95-110): Variable count for assignment to "id" does not match number of values (1 vs. 0)
// TypeError 7721: (215-226): The "selfbalance" instruction is only available for Istanbul-compatible VMs (you are currently compiling for "petersburg").
// DeclarationError 8678: (209-228): Variable count does not match number of values (1 vs. 0)
// DeclarationError 8678: (209-228): Variable count for assignment to "sb" does not match number of values (1 vs. 0)
@@ -10,5 +10,5 @@ contract C {
}
}
// ----
// TypeError 7000: (87-88): Function expects 1 arguments but got 0.
// TypeError 7000: (108-109): Function expects 1 arguments but got 2.
// TypeError 7000: (87-88): Function "f" expects 1 arguments but got 0.
// TypeError 7000: (108-109): Function "f" expects 1 arguments but got 2.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// DeclarationError 4619: (63-64): Function not found.
// DeclarationError 4619: (63-64): Function "k" not found.
@@ -7,5 +7,5 @@ contract C {
}
}
// ----
// DeclarationError 4619: (63-75): Function not found.
// DeclarationError 4619: (92-105): Function not found.
// DeclarationError 4619: (63-75): Function "setimmutable" not found.
// DeclarationError 4619: (92-105): Function "loadimmutable" not found.
@@ -23,21 +23,21 @@ contract C {
}
}
// ----
// DeclarationError 4619: (75-79): Function not found.
// DeclarationError 4619: (94-98): Function not found.
// DeclarationError 4619: (113-117): Function not found.
// DeclarationError 4619: (132-136): Function not found.
// DeclarationError 4619: (151-155): Function not found.
// DeclarationError 4619: (170-174): Function not found.
// DeclarationError 4619: (189-193): Function not found.
// DeclarationError 4619: (208-212): Function not found.
// DeclarationError 4619: (227-231): Function not found.
// DeclarationError 4619: (246-250): Function not found.
// DeclarationError 4619: (265-270): Function not found.
// DeclarationError 4619: (285-290): Function not found.
// DeclarationError 4619: (305-310): Function not found.
// DeclarationError 4619: (325-330): Function not found.
// DeclarationError 4619: (345-350): Function not found.
// DeclarationError 4619: (365-370): Function not found.
// DeclarationError 4619: (385-390): Function not found.
// DeclarationError 4619: (405-410): Function not found.
// DeclarationError 4619: (75-79): Function "dup0" not found.
// DeclarationError 4619: (94-98): Function "dup1" not found.
// DeclarationError 4619: (113-117): Function "dup2" not found.
// DeclarationError 4619: (132-136): Function "dup3" not found.
// DeclarationError 4619: (151-155): Function "dup4" not found.
// DeclarationError 4619: (170-174): Function "dup5" not found.
// DeclarationError 4619: (189-193): Function "dup6" not found.
// DeclarationError 4619: (208-212): Function "dup7" not found.
// DeclarationError 4619: (227-231): Function "dup8" not found.
// DeclarationError 4619: (246-250): Function "dup9" not found.
// DeclarationError 4619: (265-270): Function "dup10" not found.
// DeclarationError 4619: (285-290): Function "dup11" not found.
// DeclarationError 4619: (305-310): Function "dup12" not found.
// DeclarationError 4619: (325-330): Function "dup13" not found.
// DeclarationError 4619: (345-350): Function "dup14" not found.
// DeclarationError 4619: (365-370): Function "dup15" not found.
// DeclarationError 4619: (385-390): Function "dup16" not found.
// DeclarationError 4619: (405-410): Function "dup32" not found.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// DeclarationError 4619: (75-79): Function not found.
// DeclarationError 4619: (75-79): Function "jump" not found.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// DeclarationError 4619: (75-83): Function not found.
// DeclarationError 4619: (75-83): Function "jumpdest" not found.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// DeclarationError 4619: (75-80): Function not found.
// DeclarationError 4619: (75-80): Function "jumpi" not found.
@@ -38,36 +38,36 @@ contract C {
}
}
// ----
// DeclarationError 4619: (75-80): Function not found.
// DeclarationError 4619: (95-100): Function not found.
// DeclarationError 4619: (115-120): Function not found.
// DeclarationError 4619: (135-140): Function not found.
// DeclarationError 4619: (155-160): Function not found.
// DeclarationError 4619: (175-180): Function not found.
// DeclarationError 4619: (195-200): Function not found.
// DeclarationError 4619: (215-220): Function not found.
// DeclarationError 4619: (235-240): Function not found.
// DeclarationError 4619: (255-260): Function not found.
// DeclarationError 4619: (275-281): Function not found.
// DeclarationError 4619: (296-302): Function not found.
// DeclarationError 4619: (317-323): Function not found.
// DeclarationError 4619: (338-344): Function not found.
// DeclarationError 4619: (359-365): Function not found.
// DeclarationError 4619: (380-386): Function not found.
// DeclarationError 4619: (401-407): Function not found.
// DeclarationError 4619: (422-428): Function not found.
// DeclarationError 4619: (443-449): Function not found.
// DeclarationError 4619: (464-470): Function not found.
// DeclarationError 4619: (485-491): Function not found.
// DeclarationError 4619: (506-512): Function not found.
// DeclarationError 4619: (527-533): Function not found.
// DeclarationError 4619: (548-554): Function not found.
// DeclarationError 4619: (569-575): Function not found.
// DeclarationError 4619: (590-596): Function not found.
// DeclarationError 4619: (611-617): Function not found.
// DeclarationError 4619: (632-638): Function not found.
// DeclarationError 4619: (653-659): Function not found.
// DeclarationError 4619: (674-680): Function not found.
// DeclarationError 4619: (695-701): Function not found.
// DeclarationError 4619: (716-722): Function not found.
// DeclarationError 4619: (737-743): Function not found.
// DeclarationError 4619: (75-80): Function "push0" not found.
// DeclarationError 4619: (95-100): Function "push1" not found.
// DeclarationError 4619: (115-120): Function "push2" not found.
// DeclarationError 4619: (135-140): Function "push3" not found.
// DeclarationError 4619: (155-160): Function "push4" not found.
// DeclarationError 4619: (175-180): Function "push5" not found.
// DeclarationError 4619: (195-200): Function "push6" not found.
// DeclarationError 4619: (215-220): Function "push7" not found.
// DeclarationError 4619: (235-240): Function "push8" not found.
// DeclarationError 4619: (255-260): Function "push9" not found.
// DeclarationError 4619: (275-281): Function "push10" not found.
// DeclarationError 4619: (296-302): Function "push11" not found.
// DeclarationError 4619: (317-323): Function "push12" not found.
// DeclarationError 4619: (338-344): Function "push13" not found.
// DeclarationError 4619: (359-365): Function "push14" not found.
// DeclarationError 4619: (380-386): Function "push15" not found.
// DeclarationError 4619: (401-407): Function "push16" not found.
// DeclarationError 4619: (422-428): Function "push17" not found.
// DeclarationError 4619: (443-449): Function "push18" not found.
// DeclarationError 4619: (464-470): Function "push19" not found.
// DeclarationError 4619: (485-491): Function "push20" not found.
// DeclarationError 4619: (506-512): Function "push21" not found.
// DeclarationError 4619: (527-533): Function "push22" not found.
// DeclarationError 4619: (548-554): Function "push23" not found.
// DeclarationError 4619: (569-575): Function "push24" not found.
// DeclarationError 4619: (590-596): Function "push25" not found.
// DeclarationError 4619: (611-617): Function "push26" not found.
// DeclarationError 4619: (632-638): Function "push27" not found.
// DeclarationError 4619: (653-659): Function "push28" not found.
// DeclarationError 4619: (674-680): Function "push29" not found.
// DeclarationError 4619: (695-701): Function "push30" not found.
// DeclarationError 4619: (716-722): Function "push31" not found.
// DeclarationError 4619: (737-743): Function "push32" not found.
@@ -23,21 +23,21 @@ contract C {
}
}
// ----
// DeclarationError 4619: (75-80): Function not found.
// DeclarationError 4619: (95-100): Function not found.
// DeclarationError 4619: (115-120): Function not found.
// DeclarationError 4619: (135-140): Function not found.
// DeclarationError 4619: (155-160): Function not found.
// DeclarationError 4619: (175-180): Function not found.
// DeclarationError 4619: (195-200): Function not found.
// DeclarationError 4619: (215-220): Function not found.
// DeclarationError 4619: (235-240): Function not found.
// DeclarationError 4619: (255-260): Function not found.
// DeclarationError 4619: (275-281): Function not found.
// DeclarationError 4619: (296-302): Function not found.
// DeclarationError 4619: (317-323): Function not found.
// DeclarationError 4619: (338-344): Function not found.
// DeclarationError 4619: (359-365): Function not found.
// DeclarationError 4619: (380-386): Function not found.
// DeclarationError 4619: (401-407): Function not found.
// DeclarationError 4619: (422-428): Function not found.
// DeclarationError 4619: (75-80): Function "swap0" not found.
// DeclarationError 4619: (95-100): Function "swap1" not found.
// DeclarationError 4619: (115-120): Function "swap2" not found.
// DeclarationError 4619: (135-140): Function "swap3" not found.
// DeclarationError 4619: (155-160): Function "swap4" not found.
// DeclarationError 4619: (175-180): Function "swap5" not found.
// DeclarationError 4619: (195-200): Function "swap6" not found.
// DeclarationError 4619: (215-220): Function "swap7" not found.
// DeclarationError 4619: (235-240): Function "swap8" not found.
// DeclarationError 4619: (255-260): Function "swap9" not found.
// DeclarationError 4619: (275-281): Function "swap10" not found.
// DeclarationError 4619: (296-302): Function "swap11" not found.
// DeclarationError 4619: (317-323): Function "swap12" not found.
// DeclarationError 4619: (338-344): Function "swap13" not found.
// DeclarationError 4619: (359-365): Function "swap14" not found.
// DeclarationError 4619: (380-386): Function "swap15" not found.
// DeclarationError 4619: (401-407): Function "swap16" not found.
// DeclarationError 4619: (422-428): Function "swap32" not found.
@@ -6,5 +6,5 @@ contract C {
}
}
// ----
// DeclarationError 4619: (67-79): Function not found.
// DeclarationError 4619: (67-79): Function "linkersymbol" not found.
// TypeError 3950: (67-105): Expected expression to evaluate to one value, but got 0 values instead.