mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[test] Update tests to include location string.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user