From 0cf4e039384ace9b822316583f2ce63c9a4dfd39 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 24 May 2026 10:37:14 +0300 Subject: Add standard Deprecated tag to Value.Number() Use the // Deprecated: format recognized by go doc, staticcheck, and gopls instead of an inline note. --- internal/rpn/number.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/rpn/number.go b/internal/rpn/number.go index 47674d8..5e27dae 100644 --- a/internal/rpn/number.go +++ b/internal/rpn/number.go @@ -460,8 +460,9 @@ func (v Value) Float64() float64 { return v.numVal } -// Number returns the float64 value (deprecated, use Float64 instead). +// Number returns the float64 value. // If the value is a boolean, this returns 0 (the numeric value is not used for booleans). +// Deprecated: Use Float64 instead. func (v Value) Number() float64 { return v.numVal } -- cgit v1.2.3