From 390f5439d80e22f9e8836f1d6bbad002e7656ff6 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 22 May 2026 11:23:00 +0300 Subject: refactor(rpn): remove duplicate AssignLeft/AssignRight from Operator VariableOperator already declares AssignLeft and AssignRight. Operator embeds VariableOperator so the duplicate declarations were redundant. ISP compliance: keep interfaces minimal. --- internal/rpn/operations.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/rpn/operations.go b/internal/rpn/operations.go index b8d276e..40f643b 100644 --- a/internal/rpn/operations.go +++ b/internal/rpn/operations.go @@ -155,10 +155,6 @@ type Operator interface { PowerIntOperator // SetMode sets the calculation mode for number formatting SetMode(CalculationMode) - // AssignLeft assigns a value to a variable (for := operator) - AssignLeft(stack *Stack) error - // AssignRight assigns a value to a variable (for =: operator) - AssignRight(stack *Stack) error } // Operations provides operator implementations and stack manipulation. -- cgit v1.2.3