You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> var l = list()
>>> l.append(1)
>>> l[1]
Runtime Error: tried to access index 1, but valid range is [0..0] or [-1..-1]
[line 1, token: 'at']
the last error is expected to say [line 1, token: '[']; the current message happens because internally, index access is desugared to the list.at function, but this can be quite confusing for users.
The text was updated successfully, but these errors were encountered:
consider the following code:
the last error is expected to say
[line 1, token: '[']
; the current message happens because internally, index access is desugared to thelist.at
function, but this can be quite confusing for users.The text was updated successfully, but these errors were encountered: