Files
wren/test/list/subscript_setter_too_large.wren
2014-01-03 10:47:26 -08:00

3 lines
77 B
Plaintext

var a = [1, 2, 3]
a[4] = 1 // expect runtime error: Subscript out of bounds.