.
D 2018-03-01T18:24:04.609
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment \r\n%\slindex\s{a\sb\sc}\s-1-1\r\nc\r\n\r\nCorrect\sanswer\sshould\sbe\sthe\sempty\sstring.\r\n\r\nThe\sbytecode\scompiler\sfor\s[lindex]\stries\sto\r\nencode\sthe\sindices\s"end",\s"end-1",\s....\setc.\r\nas\sthe\simmediate\sbytecode\sarguments\s-2,\s-3,\s....\r\n\r\nIt\signores\sthe\spossibility\sthat\sTclGetIntForIndex()\r\ncan\sreturn\sthose\svalues\sas\slegit\sindex\svalues\r\nresulting\sfrom\sindex\sarithmetic.\s\sIn\sthis\sexample\r\nthe\sindex\s"-2"\sis\sgetting\sinterpreted\sas\sif\sit\swere\s"end".
J foundin 8.6
J is_private 0
J login dgp
J priority 5\sMedium
J resolution None
J severity Severe
J status Open
J submitter dgp
J subsystem 47.\sBytecode\sCompiler
J title compiled\slindex\sbotches\sindex\sartihmetic
J type Bug
K db36fa5122259be74d0ccadd102e076094703052
U dgp
Z 97188e073e63f94be6185da37d0513f1