Tcl Library Source Code

View Ticket
Login
Ticket UUID: 305cddecc7cb555b0d7ee9127b66e2db1aa7fe99
Title: graphops.tcl needs struct::set
Type: Bug Version: 2.0
Submitter: jmroot Created on: 2025-02-04 15:53:19
Subsystem: struct :: graph Assigned To: nobody
Priority: 5 Medium Severity: Severe
Status: Open Last Modified: 2025-02-04 15:53:19
Resolution: None Closed By: nobody
    Closed on:
Description:
Calling ::struct::graph::op::tarjan results in an error: invalid command name "struct::set"

Indeed struct::set is used in TarjanSub, and several other procs in graphops.tcl as well. Adding "package require struct::set" to that file fixes the problem.