Skip to content

Commit 57d84c8

Browse files
committed
Fix genetic algorithms CI failure
1 parent 0004ad8 commit 57d84c8

13 files changed

+15
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
int[L] constant L = 6;
22
// ----
33
// TypeError 5462: (4-5): Invalid array length, expected integer literal or constant expression.
4-
// TypeError 9259: (0-21): Only constants of value type and byte arrays are implemented.
4+
// TypeError 9259: (0-21): Only constants of value type and byte array type are implemented.

test/libsolidity/syntaxTests/constantEvaluator/type_reference_in_contract.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ contract C {
33
}
44
// ----
55
// TypeError 5462: (21-22): Invalid array length, expected integer literal or constant expression.
6-
// TypeError 9259: (17-38): Only constants of value type and byte arrays are implemented.
6+
// TypeError 9259: (17-38): Only constants of value type and byte array type are implemented.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
mapping(uint => uint) constant b = b;
22
// ----
3-
// TypeError 9259: (0-36): Only constants of value type and byte arrays are implemented.
3+
// TypeError 9259: (0-36): Only constants of value type and byte array type are implemented.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
struct S { uint x; }
22
S constant s;
33
// ----
4-
// TypeError 9259: (21-33): Only constants of value type and byte arrays are implemented.
4+
// TypeError 9259: (21-33): Only constants of value type and byte array type are implemented.

test/libsolidity/syntaxTests/iceRegressionTests/const_struct_with_mapping.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ contract C {
55
S public constant e = 0x1212121212121212121212121212121212121212;
66
}
77
// ----
8-
// TypeError 9259: (71-135): Only constants of value type and byte arrays are implemented.
8+
// TypeError 9259: (71-135): Only constants of value type and byte array type are implemented.

test/libsolidity/syntaxTests/nameAndTypeResolution/105_constant_input_parameter.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ contract test {
33
}
44
// ----
55
// DeclarationError 1788: (31-55): The "constant" keyword can only be used for state variables or variables at file level.
6-
// TypeError 9259: (31-55): Only constants of value type and byte arrays are implemented.
6+
// TypeError 9259: (31-55): Only constants of value type and byte array type are implemented.

test/libsolidity/syntaxTests/nameAndTypeResolution/171_assignment_to_const_array_vars.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ contract C {
22
uint[3] constant x = [uint(1), 2, 3];
33
}
44
// ----
5-
// TypeError 9259: (17-53): Only constants of value type and byte arrays are implemented.
5+
// TypeError 9259: (17-53): Only constants of value type and byte array type are implemented.

test/libsolidity/syntaxTests/nameAndTypeResolution/173_constant_struct.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ contract C {
33
S constant x = S(5, new uint[](4));
44
}
55
// ----
6-
// TypeError 9259: (52-86): Only constants of value type and byte arrays are implemented.
6+
// TypeError 9259: (52-86): Only constants of value type and byte array type are implemented.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
S constant x;
22
struct S { int y; }
33
// ----
4-
// TypeError 9259: (0-12): Only constants of value type and byte arrays are implemented.
4+
// TypeError 9259: (0-12): Only constants of value type and byte array type are implemented.

test/libsolidity/syntaxTests/nameAndTypeResolution/constant_mapping.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ contract C {
22
mapping(uint => uint) constant x;
33
}
44
// ----
5-
// TypeError 9259: (17-49): Only constants of value type and byte arrays are implemented.
5+
// TypeError 9259: (17-49): Only constants of value type and byte array type are implemented.

0 commit comments

Comments
 (0)