Skip to content

Commit 10aec65

Browse files
committed
Document dynamic const verification
1 parent d40ae99 commit 10aec65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TOLERANT_TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This branch tracks work needed to bring the tolerant PHP parser up to date for P
1616

1717
Double-check tolerant against the language changes that shipped with 8.3:
1818

19-
- **Dynamic class constant fetch** (`Foo::{expr}`): ensure tokenizer/grammar accept brace-wrapped expressions after `::`, add fixtures, and mirror php-ast node structure.
19+
- **Dynamic class constant fetch** (`Foo::{expr}`): ensure tokenizer/grammar accept brace-wrapped expressions after `::`, add fixtures, and mirror php-ast node structure. **(verified via `tests/samples/dynamic_class_const.php`)**
2020
- **Typed class constants / readonly amendments**: confirm class-constant declarations propagate their type information and `readonly` constraints into tolerant AST output.
2121
- **`#[\Override]` attribute**: attributes already parse, but we should add fixtures to verify tolerant preserves them on methods.
2222
- **Arbitrary static variable initialisers**: while this is largely semantic, tolerant should accept the new grammar in function-level `static` declarations and update diagnostics if necessary.

0 commit comments

Comments
 (0)