Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 02818e4711d5b195b0f6e63a6fe1de175d63d91995bbc0717d76a1d29100088a
Ticket: 211ac77119254ad2f9838a561b1f4b5070f5095f
return manual page has a no longer valid example
User & Date: emiliano on 2025-02-20 01:09:01
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    In return manual page example at
    
    https://www.tcl-lang.org/man/tcl9.0/TclCmd/return.html#M19
    
    there is this code snippet:
    
        set product [expr {$n * $factor}]
        if {$product < 0} {
            return -code error \
                    "overflow computing factorial of $n"
        }
    
    but Tcl integers no longer overflows since Tcl 8.5 (TIP#237)
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "emiliano"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "emiliano"
  13. subsystem changed to: "18. Commands M-Z"
  14. title changed to: "return manual page has a no longer valid example"
  15. type changed to: "Bug"