Commit 4607e6a
Constraining pragma identifiers (#1388)
Closes #1385
(once completed)
- [x] Update `ExperimentalPragma` to reference specific keywords for
`ABIEncoderV2` and `SMTChecker`
- [x] Enabled from >=0.4.16
- [x] Update `AbicoderPragma` to reference specific keywords for `v1`
and `v2`.
- [x] Enabled from >=0.7.5
- [x] Add the correct `enabled` and `reserved` version ranges to the 4
new keywords.
- [x] Search the codebase for references to these nodes to remove any
exclusions.
- [x] If #1325 is merged before this one, remove from the npm tests too
- [x] Are there any other "dangling" identifiers? we should review them.
---------
Co-authored-by: Omar Tawfik <15987992+OmarTawfik@users.noreply.github.com>1 parent 4f42ddb commit 4607e6a
File tree
52 files changed
+1238
-280
lines changed- .changeset
- crates/solidity
- inputs/language/src
- outputs
- cargo
- crate
- generated
- src
- backend
- l1_structured_ast/generated
- l2_flat_contracts/generated
- generated
- cst/generated
- parser/generated
- tests/src
- binder
- bindings/bindings_output
- cst
- cst_output/generated
- generated
- wasm/src/generated/interface/generated
- npm/package
- src/generated/ast/generated
- wasm/generated/interfaces
- spec/generated
- public
- 01-file-structure
- testing
- perf
- npm/src/benchmarks/subjects
- src/tests
- snapshots/cst_output/PragmaDirective
- abi_coder_unkown_identifier
- generated
- abi_coder_v1
- generated
- abi_coder_v2
- generated
- experimental_abiencoderv2
- generated
- experimental_smtchecker
- generated
- experimental_string/generated
- experimental_unknown_identifier
- generated
- sourcify/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
52 files changed
+1238
-280
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| 103 | + | |
100 | 104 | | |
101 | 105 | | |
102 | | - | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| 111 | + | |
107 | 112 | | |
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
112 | 125 | | |
113 | 126 | | |
| 127 | + | |
114 | 128 | | |
115 | | - | |
| 129 | + | |
| 130 | + | |
116 | 131 | | |
117 | 132 | | |
118 | 133 | | |
| |||
222 | 237 | | |
223 | 238 | | |
224 | 239 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | 240 | | |
250 | 241 | | |
251 | 242 | | |
| |||
470 | 461 | | |
471 | 462 | | |
472 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
473 | 500 | | |
474 | 501 | | |
475 | 502 | | |
| |||
726 | 753 | | |
727 | 754 | | |
728 | 755 | | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
729 | 765 | | |
730 | 766 | | |
731 | 767 | | |
| |||
1384 | 1420 | | |
1385 | 1421 | | |
1386 | 1422 | | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
1387 | 1440 | | |
1388 | 1441 | | |
1389 | 1442 | | |
| |||
Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 29 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 16 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments