Overview
| Artifact ID: | 197a8b153fcd6d20427933aab7f5e1026cda22ef |
|---|---|
| Ticket: | 1af8de570511f68630bd54c24579ceef69c63546
TEBC mishandled in [string replace] optimization ? |
| User & Date: | dkf on 2016-03-20 20:52:21 |
Changes
- closedate changed to: "2457468.36969845"
- icomment:
The problem was not that the arguments to <code>NEXT_INST_F</code> were wrong (I've <i>no</i> idea why that masked the error without giving wrong answers!) but rather that I was flushing the internal representation wrongly in one case. More strictly, I was applying the "right" flush to the wrong object, and this was a case in the code that wasn't tested; I'd cut-n-paste some code (doing a tricky bit of poking inside the internals of the <tt>string</tt> internal representation) from one place to just a little bit below without adjusting what variable it was applied to, and the complexity of the code made it too easy for the eye to slide over the problem without immediately seeing it. As part of the fix, I refactored the code so that the tricky bit is in a macro, making it easier for the reader to see that this sort of problem no longer exists.
- login: "dkf"
- mimetype: "text/html"
- username: "dkf"