Descriptioncmd/gc: do simple bounds checking of constant indices/slices in typecheck.
This should make the compiler emit errors specific to the bounds checking instead of overflow errors on the underlying types.
Updates issue 4232.
Patch Set 1 #Patch Set 2 : diff -r 024dde07c08d https://code.google.com/p/go/ #Patch Set 3 : diff -r 024dde07c08d https://code.google.com/p/go/ #
Total comments: 2
Patch Set 4 : diff -r 7d691a2266ef https://code.google.com/p/go/ #
Total comments: 1
Patch Set 5 : diff -r 632ca9d98436 https://code.google.com/p/go/ #MessagesTotal messages: 6
|