update tests

This commit is contained in:
Alex Beregszaszi 2020-11-04 16:55:03 +00:00 committed by chriseth
parent baa7251f1d
commit 43353bb6ca
11 changed files with 14 additions and 13 deletions

View File

@ -223,7 +223,7 @@ def examine_id_coverage(top_dir, source_id_to_file_names, new_ids_only=False):
"1123", "1220", "1584", "1823",
"1988", "2657", "2800", "3356",
"3893", "3996", "4010", "4802",
"5073", "5272", "5622", "6272", "7128",
"5073", "5272", "5622", "7128",
"7589", "7593", "7653", "8065", "8084", "8140",
"8312", "8592", "9085", "9390"
}

View File

@ -7,4 +7,4 @@ contract C {
}
}
// ----
// ParserError 2314: (118-119): Expected '(' but got '}'
// Warning 8261: (52-62): Variable is shadowed in inline assembly by an instruction of the same name

View File

@ -7,4 +7,4 @@ contract C {
}
}
// ----
// ParserError 2314: (101-103): Expected '(' but got ':='
// ParserError 6272: (101-103): Cannot assign to builtin function "mload".

View File

@ -2,4 +2,4 @@
function f(x) { f(add) }
}
// ----
// ParserError 2314: (24-25): Expected '(' but got ')'
// DeclarationError 8198: (21-24): Identifier not found.

View File

@ -1,6 +1,5 @@
{
// Test for the unreachable 6272_error
add := 1
}
// ----
// ParserError 2314: (47-49): Expected '(' but got ':='
// ParserError 6272: (7-9): Cannot assign to builtin function "add".

View File

@ -1,7 +1,6 @@
{
// Test for the unreachable 6272_error
function f() -> a, b {}
add, mul := f()
}
// ----
// ParserError 2314: (71-72): Expected '(' but got ','
// ParserError 6272: (31-32): Cannot assign to builtin function "add".

View File

@ -2,4 +2,5 @@
for {} mload {} {}
}
// ----
// ParserError 2314: (16-17): Expected '(' but got '{'
// DeclarationError 8198: (10-15): Identifier not found.
// TypeError 1733: (10-15): Expected a value of boolean type "bool" but got "u256"

View File

@ -2,4 +2,4 @@
let x := byte
}
// ----
// ParserError 2314: (20-21): Expected '(' but got '}'
// DeclarationError 8198: (15-19): Identifier not found.

View File

@ -2,4 +2,5 @@
if mload {}
}
// ----
// ParserError 2314: (15-16): Expected '(' but got '{'
// DeclarationError 8198: (9-14): Identifier not found.
// TypeError 1733: (9-14): Expected a value of boolean type "bool" but got "u256"

View File

@ -2,4 +2,5 @@
if calldatasize {}
}
// ----
// ParserError 2314: (22-23): Expected '(' but got '{'
// DeclarationError 8198: (9-21): Identifier not found.
// TypeError 1733: (9-21): Expected a value of boolean type "bool" but got "u256"

View File

@ -4,4 +4,4 @@
default {}
}
// ----
// ParserError 2314: (23-27): Expected '(' but got reserved keyword 'case'
// DeclarationError 8198: (13-18): Identifier not found.