Skip to content

chore: delete stale variable-name NOTE/TODO from Formula::get doxygen#38

Draft
hozblok wants to merge 1 commit into
masterfrom
chore/delete-stale-variable-name-note
Draft

chore: delete stale variable-name NOTE/TODO from Formula::get doxygen#38
hozblok wants to merge 1 commit into
masterfrom
chore/delete-stale-variable-name-note

Conversation

@hozblok
Copy link
Copy Markdown
Owner

@hozblok hozblok commented May 19, 2026

Closes TODO src/cpp/csformula/csformula.hpp:187 (* number. TODO: why so?).

Problem

The doxygen block on Formula::get carried a NOTE claiming variables must be single Latin letters a..z and i, followed by TODO: why so? questioning the constraint.

The constraint is fictionaltests/test_simple.py::test_getting_variables already passes with multi-character names (qwe, xx, s_s_s.) and Cyrillic names (йцу4). The parser accepts them; the NOTE was wrong.

Change

Delete the NOTE and the trailing TODO. The remaining sentence ("Get the calculated value of the formula in accordance with the 'map_variable_values' dictionary…") stands on its own.

Doc-only. No code or tests changed. Full suite 388/388, 3 xfailed unchanged.

The comment claimed variables must be single Latin letters a..z and i.
That is contradicted by tests/test_simple.py::test_getting_variables,
which exercises multi-character ('qwe', 'xx', 's_s_s.') and Cyrillic
('йцу4') variable names today. The constraint is fictional; drop the
NOTE and the 'TODO: why so?' that questioned it.

Doc-only. No code or tests changed.

Closes TODO src/cpp/csformula/csformula.hpp:187.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant