Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 88d15d63111c3b9b448a3ed96ed23a313d281210
Ticket: 771539ffffffffffffffffffffffffffffffffff
lsort: misleading error message
User & Date: nobody on 2003-07-15 11:49:46
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Run, for example:
    
    proc compare {arg1 arg2} { return 0.0 }
    
    lsort -command compare { 17 42 }
    
    You get:
    
       "-compare command returned non-numeric result"
    
    This is rather confusing. It should better say something
    like:
    
       "-compare command returned non-integer result"
    
    Well, a little bit nitpicking, but a remarkable amount
    of confusion happend in real life...
    
    
    See File generic/tclCmdIL.c (line 3702) in snapshot of
    today.
    
  4. foundin changed to: "obsolete: 8.4.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "17. Commands I-L"
  10. title changed to: "lsort: misleading error message"
  11. type changed to: "Bug"