Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9f2e549a341e168f7b19fe95a9467ee52e384914e445cff61b1bc75441571732
Ticket: 81ebe684b4a9d6ba82561ea8c276670ca27f502f
TclFindCompiledLocal() header comments are false
User & Date: dgp on 2025-05-30 17:46:24
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The header comments say
    
    "If the variable's name is NULL, a new temporary variable is always created."
    
    If this were true, then callers of the wrapper macro AnonymousLocal()
    would never have to check for a TCL_INDEX_NONE return value.
    
    But it is not true.  There are pathways through TclFindCompiledLocal()
    that lead to a return of TCL_INDEX_NONE.
    
    We need to get the story straight.
    
  5. foundin changed to: "8.6+"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "dgp"
  14. subsystem changed to: "47. Bytecode Compiler"
  15. title changed to: "TclFindCompiledLocal() header comments are false"
  16. type changed to: "Bug"