diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-22 13:00:45 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-22 13:00:45 +0300 |
| commit | d0cb0dfad408553f4e90e12ea4b235b912885dd1 (patch) | |
| tree | f85cbb78f7b59fc7668be75e52d75f392f4ed16a /integrationtests | |
| parent | 09b3a1e5b09bd136afa348efcaf53dc4e4189a27 (diff) | |
refactor(rpn): deduplicate category helpers between metric and hyper ops
Extract validateCategories and resultMetricForAdd as shared N-ary
helpers in operations_metric.go. Update binary helpers
(categoriesCompatible, compatibleMetric) to delegate to them.
Remove the duplicated validateSameCategory and resultMetricForHyperAdd
from operations_hyper.go and switch all callers to the shared versions.
Diffstat (limited to 'integrationtests')
0 files changed, 0 insertions, 0 deletions
