| Ticket UUID: | 31fd84270644f67d4ad8d762293be12439ba237c | ||
| Title: | Interim increment of iPtr->compileEpoch causes reset of line-number | ||
| Type: | Bug | Created on: | 2024-05-13 13:09:34 |
| Submitter: | sebres | Assigned to: | nobody |
| Subsystem: | 47. Bytecode Compiler | Severity: | Severe |
| Priority: | 5 Medium | Last modified: | 2024-05-13 13:09:34 |
| Status: | Open | Closed by: | nobody |
| Resolution: | None | Closed on: | |
| Version: | 8.6+ | ||
| Description: | ||||
|
Continuation of [9889f96f4da77e3b]. An increment of compile-epoch and following switch to direct eval causes that tcl starts to evaluate rest of the script from scratch without to consider that this is a continuation of script (line 3 in followed example) for whatever reason... Here is a test case illustrating the behaviour:
The result:
How one can see epoch bump causes a reset of the line-number. How to reproduce it simply:
| ||||
