Answer architecture round 3, stability round 1 and product-owner round 1: CalcName and proven.OfCalc for one meaning per name, a lazy load placed where its lookup found it, DataType's constants typed under it, and cover printing the module's total
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
// operands fields holds.
|
||||
func checkFunc(tok grammar.Token, fields map[string]node) error {
|
||||
err := builtinfunc.Check(tok.Fn, tok.Args)
|
||||
if err == nil && tok.Fn == builtinfunc.Calc {
|
||||
if err == nil && tok.Fn == builtinfunc.CalcName {
|
||||
err = checkCalcFields(tok.Args, fields)
|
||||
}
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user