Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 33c32a6ac03ea0e36cfb47573f3fe6aab182c2526e81ce21483e093bd0c4c200
Ticket: 2ffab8476f5abfded9edee758357ae0726aef648
where in TCL the source line attribute is assigned/calculated/kept?
User & Date: arvind29 on 2021-06-14 17:38:30
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The problem we found is that in some cases this script handles line number differently when it’s ran from TCL 8.6.8. We observed line # difference coming from 
    “
        proc get_relative_line_number { level } {
            incr level -1
            if {[catch {set info_frame [info frame $level] } ] } {
                return 0
            }
            if {![dict exists $info_frame line]} {
                return 0
            }
            set line [dict get $info_frame line]
            if {$line <= 1} {
                return 0
            }
            return [expr {$line - 1}]
        }
    “
    at the line  “set line [dict get $info_frame line]”
    Do you know where in TCL the source line attribute is assigned/calculated/kept?
    
    Thanks,
    Arvind
    
  5. foundin changed to: "8.6.8"
  6. is_private changed to: "0"
  7. login: "arvind29"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "f31bbee5d57cdca64b0ff5fb39afeb99e5f9c194"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "arvind29"
  14. subsystem changed to: "None"
  15. title changed to:
    where in TCL the source line attribute is assigned/calculated/kept?
    
  16. type changed to: "Support"