Answer stability round 1, product-owner round 1 and prose round 1: say calc reads names in the Functions table, use shipped data in the examples, plainer comments and item wording, mark items 5 and 90 as decision-cited, and ask whether a field spelling of a calc operand is refused

This commit is contained in:
2026-10-05 01:17:33 +02:00
committed by Lillem4n
parent 0743a049d7
commit 426517e66d
7 changed files with 32 additions and 28 deletions
+3 -3
View File
@@ -212,7 +212,7 @@ func neverNumeric(n node) (text string, never bool) {
return "", false
}
// allNeverNumeric reports nodes no render of which is a number, and none where there are none.
// allNeverNumeric reports whether no render of any of nodes is a number; false for no nodes.
func allNeverNumeric(nodes []node) (text string, never bool) {
for _, n := range nodes {
t, nodeNever := neverNumeric(n)
@@ -240,8 +240,8 @@ func calcPrep(args []string) callFn {
}
}
// parsedCalc parses an expression checkCalc accepted. A nil AST would be a nil dereference
// per render, with no message.
// parsedCalc parses an expression checkCalc accepted. A nil AST would dereference later, with
// no message.
func parsedCalc(expr string) calcNode {
n, err := parseCalc(expr)
if err != nil {