summaryrefslogtreecommitdiff
path: root/integrationtests/cli_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 00:17:22 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 00:17:22 +0300
commit7e1c99cc79ba8338a05e37aaac498dd759f614f3 (patch)
treea477b22042627af40708cd7fb4e3275360f01365 /integrationtests/cli_test.go
parent11272232772fcfa20f15e12efe37aad580ab3d8c (diff)
rpn: eliminate RPN.mode duplication with Operations.mode
Remove the mode field from the RPN struct, which was duplicated from Operations.mode. All reads of r.mode in rpn_parse.go and rpn_ops.go now go through r.ops.GetMode(). - Add GetMode() to the Operator interface so RPN can access mode through its Operator dependency - Remove mode field from RPN struct in rpn_state.go - Remove mode initialization from NewRPN - Update SetMode to only set mode on Operations - Update GetMode to delegate to Operations - Replace r.mode with r.ops.GetMode() in rpn_parse.go (5 sites) - Replace r.mode with r.ops.GetMode() in rpn_ops.go (1 site)
Diffstat (limited to 'integrationtests/cli_test.go')
0 files changed, 0 insertions, 0 deletions