builtin
CRT-A0001107 }
108 chars.trimLengthKnown = true
109 var i int
110 len := chars.Length()111 for i = len - 1; i >= 0; i-- {
112 char := chars.Get(i)
113 if !unicode.IsSpace(char) {
150 charNumber
151)
152
153func posArray(withPos bool, len int) *[]int {154 if withPos {
155 pos := make([]int, 0, len)
156 return &pos
It is not recommended to shadow builtins because identifiers shadowing a built-in makes it inaccessible to use. A shadowed variable or function is declared in the scope with the same name as a built-in function.
len := 10 // shadowing bultin `len`
length := 10