Overview
| Artifact ID: | 9819f3c63156a12576582feb008d2886e6f555d82786ecc8b789199aa4533325 |
|---|---|
| Ticket: | db36fa5122259be74d0ccadd102e076094703052
compiled lindex botches index artihmetic |
| User & Date: | sebres on 2018-03-06 17:44:22 |
Changes
- icomment:
> "PUSH $empty" > miss out on the check the $l is a valid list. Don't need use it, because another hack may be applied very easy. Normally, INST_LIST_INDEX_IMM expected operand >= 0 and < -1. But, if you'll use -1 and put following code, you'll always get an empty return-value, as well as do the list validation inside: ```tcl-byte-code (0) push1 0 (2) listIndexImm -1 (7) done ``` > Practically already done in the TIP 445 branch. Are you sure, Don? I see nothing about this in this branch... WiP. I'll push soon a new branch with fix and test cases for all this mentioned.
- login: "sebres"
- mimetype: "text/plain"