]> Cypherpunks repositories - gostls13.git/commit
change array slice error to include bounds
authorRuss Cox <rsc@golang.org>
Wed, 19 Nov 2008 17:35:36 +0000 (09:35 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 19 Nov 2008 17:35:36 +0000 (09:35 -0800)
commit9b8a6dc7da6e0ef2a3afe9094fcda4f645442702
tree73d24975f897e0451eb3132142d3a3540764d545
parentaddd6fa84608a292983f910d8ab1e3dbbfab71a7
change array slice error to include bounds

$ 6.out
slice[5:12] of [10] array
throw: array slice
SIGSEGV: segmentation violation

R=r
DELTA=15  (13 added, 0 deleted, 2 changed)
OCL=19540
CL=19580
src/runtime/array.c