Repository navigation
Commit c59cf00
docs(workflows): drop the unsupported dict-literal example from the comment
Addresses review feedback: `_evaluate_simple_expression` implements a list
literal branch only. A mapping such as `{"a": 1}` has no branch there and
falls through to dot-path resolution:
list literal [1, 2] -> [1, 2]
dict literal {"a": 1} -> None
So the comment's claim that the evaluator supports dict literals was wrong.
Comment-only; no behaviour change. `_find_top_level` is brace-aware as well as
bracket-aware (`_find_top_level('{"a": 1, "b": 2}', ',')` returns -1), so the
scanner treats such a comma as nested either way -- the example was simply
describing syntax the evaluator does not implement, which is exactly the kind
of thing a future change might have relied on.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent e36a61c commit c59cf00
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
417 | 423 | | |
418 | 424 | | |
419 | 425 | | |
| |||
0 commit comments