Check a typed column's value, not its text: one literal, value call, calc or read, bounded by its arguments
Tests / vet + fmt + tests (pull_request) Successful in 59s

This commit is contained in:
2026-09-15 14:33:04 +02:00
parent 770dca507a
commit 5615ab6d89
11 changed files with 379 additions and 844 deletions
+3 -3
View File
@@ -72,9 +72,9 @@ type builtin struct {
// operands names the fields the call reads, which expand renders for it; nil
// for a builtin that reads none.
operands func(args []string) []string
// emits is the text a call can print, for the datatype check; nil for calc and the
// transforms, whose text the check derives from what they read.
emits func(args []string) textShape
// number bounds the number a call prints and names the datatype its text is; nil
// for a builtin that prints text.
number func(args []string) (proven, DataType)
}
// funcCall splits a "{token}" body shaped name(args) into its parts; ok is false