summaryrefslogtreecommitdiff
path: root/docs/basic-arithmetic.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 14:18:28 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 14:18:28 +0300
commit7095df85a86be4cb9dab952f91b42a4ae2f2d65e (patch)
tree7fefb051c76cec02f9b80405079d87d6347d75a3 /docs/basic-arithmetic.md
parent9f83f4328f89ebd03c7455725e5d21fb4f4ff586 (diff)
fix(rpn): extract var-name type switch into helper (tj)
Extract the duplicated type switch on StackValue in AssignLeft() and AssignRight() into a single extractVarName() helper, closing the OCP violation — adding a new StackValue subtype as a valid variable name now only requires editing one function.
Diffstat (limited to 'docs/basic-arithmetic.md')
0 files changed, 0 insertions, 0 deletions