Skip to content

Commit e2d6296

Browse files
fixup! Add and update tests
1 parent 430c846 commit e2d6296

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

test/libsolidity/syntaxTests/inlineAssembly/blobhash_pre_cancun_not_reserved.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ contract C {
1717
// ====
1818
// EVMVersion: <=shanghai
1919
// ----
20-
// Warning 5470: (98-106): "blobhash" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
21-
// Warning 5470: (237-303): "blobhash" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
20+
// Warning 5470: (98-106): "blobhash" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.
21+
// Warning 5470: (237-303): "blobhash" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.

test/libsolidity/syntaxTests/inlineAssembly/prevrandao_allowed_function_pre_paris.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ contract C {
1818
// ====
1919
// EVMVersion: <paris
2020
// ----
21-
// Warning 5470: (101-111): "prevrandao" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
22-
// Warning 5470: (255-323): "prevrandao" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
21+
// Warning 5470: (101-111): "prevrandao" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.
22+
// Warning 5470: (255-323): "prevrandao" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.

test/libyul/yulSyntaxTests/blobbasefee_identifier_pre_cancun.yul

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
// ====
55
// EVMVersion: <=shanghai
66
// ----
7-
// Warning 5470: (6-31): "blobbasefee" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
7+
// Warning 5470: (6-31): "blobbasefee" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.

test/libyul/yulSyntaxTests/blobhash_pre_cancun.yul

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
// ====
1212
// EVMVersion: <=shanghai
1313
// ----
14-
// Warning 5470: (20-28): "blobhash" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
15-
// Warning 5470: (55-77): "blobhash" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
14+
// Warning 5470: (20-28): "blobhash" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.
15+
// Warning 5470: (55-77): "blobhash" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.

test/libyul/yulSyntaxTests/mcopy_as_identifier_pre_cancun.yul

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
// ====
1212
// EVMVersion: <cancun
1313
// ----
14-
// Warning 5470: (20-25): "mcopy" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
15-
// Warning 5470: (52-71): "mcopy" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
14+
// Warning 5470: (20-25): "mcopy" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.
15+
// Warning 5470: (52-71): "mcopy" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.

test/libyul/yulSyntaxTests/mcopy_pre_cancun.yul

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
// ====
1212
// EVMVersion: <cancun
1313
// ----
14-
// Warning 5470: (20-25): "mcopy" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
15-
// Warning 5470: (52-71): "mcopy" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
14+
// Warning 5470: (20-25): "mcopy" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.
15+
// Warning 5470: (52-71): "mcopy" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.

test/libyul/yulSyntaxTests/tstore_tload_as_identifiers_pre_cancun.yul

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
// ====
66
// EVMVersion: <cancun
77
// ----
8-
// Warning 5470: (6-26): "tstore" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
9-
// Warning 5470: (31-50): "tload" will be promoted to reserved keyword in the next breaking version and will not be allowed anymore as an identifier.
8+
// Warning 5470: (6-26): "tstore" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.
9+
// Warning 5470: (31-50): "tload" will be promoted to reserved Yul identifier in the next breaking version and will not be allowed anymore as an identifier.

0 commit comments

Comments
 (0)