Skip to content

Commit a09f003

Browse files
committed
Update tests. Change error message.
1 parent 562c5a9 commit a09f003

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
contract C layout at uint64(bytes8(bytes.concat("ABCD", "EFGH"))) {}
22
// ----
3-
// TypeError 1139: (21-65): The base slot of the storage layout must be a compile-time constant expression.
3+
// TypeError 1505: (21-65): The base slot expression contains elements that are not yet supported by the internal constant evaluator and therefore cannot be evaluated at compilation time.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
contract C layout at uint(keccak256(bytes.concat("ABCD"))) {}
22
// ----
3-
// TypeError 1139: (21-58): The base slot of the storage layout must be a compile-time constant expression.
3+
// TypeError 1505: (21-58): The base slot expression contains elements that are not yet supported by the internal constant evaluator and therefore cannot be evaluated at compilation time.

0 commit comments

Comments
 (0)