We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88bf2ef commit 99aed2aCopy full SHA for 99aed2a
sh/obj.go
@@ -80,7 +80,6 @@ func (o *StrObj) Str() string { return string(o.runes) }
80
func (o *StrObj) String() string { return o.Str() }
81
82
func (o *StrObj) Get(index int) (Obj, error) {
83
- // FIXME: Use runes instead
84
if index >= o.Len() {
85
return nil, fmt.Errorf(
86
"IndexError: Index[%d] out of range, string size[%d]",
0 commit comments