[test] Update tests to include location string.

This commit is contained in:
Alexander Arlt
2022-04-01 23:41:18 -05:00
parent d4c02f2270
commit 0783ad9000
2684 changed files with 5877 additions and 5877 deletions
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError 1227: (66-72): Index range access is only supported for dynamic calldata arrays.
// TypeError 1227: (66-72='x[1:2]'): Index range access is only supported for dynamic calldata arrays.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError 1227: (65-71): Index range access is only supported for dynamic calldata arrays.
// TypeError 1227: (65-71='x[1:2]'): Index range access is only supported for dynamic calldata arrays.
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError 1227: (76-82): Index range access is only supported for dynamic calldata arrays.
// TypeError 1227: (76-82='x[1:2]'): Index range access is only supported for dynamic calldata arrays.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError 9582: (92-100): Member "a" not found or not visible after argument-dependent lookup in uint256[] calldata slice.
// TypeError 9582: (92-100='x[1:2].a'): Member "a" not found or not visible after argument-dependent lookup in uint256[] calldata slice.
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError 1227: (70-76): Index range access is only supported for dynamic calldata arrays.
// TypeError 1227: (70-76='x[1:2]'): Index range access is only supported for dynamic calldata arrays.
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError 1227: (72-78): Index range access is only supported for dynamic calldata arrays.
// TypeError 1227: (72-78='x[1:2]'): Index range access is only supported for dynamic calldata arrays.
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError 4781: (52-57): Index range access is only possible for arrays and array slices.
// TypeError 4781: (52-57='1[1:]'): Index range access is only possible for arrays and array slices.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError 1227: (76-82): Index range access is only supported for dynamic calldata arrays.
// TypeError 1227: (76-82='y[1:2]'): Index range access is only supported for dynamic calldata arrays.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError 1227: (77-83): Index range access is only supported for dynamic calldata arrays.
// TypeError 1227: (77-83='y[1:2]'): Index range access is only supported for dynamic calldata arrays.
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError 4781: (52-58): Index range access is only possible for arrays and array slices.
// TypeError 4781: (52-58='""[1:]'): Index range access is only possible for arrays and array slices.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError 1227: (69-75): Index range access is only supported for dynamic calldata arrays.
// TypeError 1227: (69-75='x[1:2]'): Index range access is only supported for dynamic calldata arrays.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError 1227: (71-77): Index range access is only supported for dynamic calldata arrays.
// TypeError 1227: (71-77='x[1:2]'): Index range access is only supported for dynamic calldata arrays.