Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2b755a6b347562d850d7c4cefeacffe57397c32490f0b702b222e233fbd80c8d
Ticket: 9889f96f4da77e3b80dfa7ec6aa99b65c17974d1
Regression when mixing eval + clock + error within condition block
User & Date: sebres on 2024-05-13 10:16:59
Changes

  1. icomment:
    OK, concretely here the issue seems to be compilation of ensemble, e. g. `Tcl_SetEnsembleFlags(..., ENSEMBLE_COMPILE)` for clock ensemble.
    Commenting line `clock::configure -init-complete` (the ensemble remains uncompiled) also produces correct line of evaluation. 
    
    This cannot be considered as a fix, because it would introduce a performance regression (ensemble rewrite instruction, NRE trampoline, additional TEBCResume enter, etc). Thus one needs to find out why compiling of ensemble (on demand) could reset eval-line number.
    
  2. login: "sebres"
  3. mimetype: "text/x-markdown"