lang: funcs: core: fmt: Add important comment to printf

This commit is contained in:
James Shubin
2022-08-04 14:34:18 -04:00
parent 57b37d9005
commit 12ae44d563

View File

@@ -61,6 +61,8 @@ func (obj *PrintfFunc) ArgGen(index int) (string, error) {
if index == 0 { if index == 0 {
return formatArgName, nil return formatArgName, nil
} }
// TODO: if index is big enough that it would return the string in
// `formatArgName` then we should return an error! (Nearly impossible.)
return util.NumToAlpha(index - 1), nil return util.NumToAlpha(index - 1), nil
} }