Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef3ca2d3a2d122a53797c30dc8995250bc0d727c
Ticket: 513983ffffffffffffffffffffffffffffffffff
invalid calls to [test] should throw errors
User & Date: nobody on 2002-02-08 08:54:48
Changes

  1. icomment:
    Logged In: NO 
    
    By the logic that you are using, no command should ever be
    extended to take more arguments because previously erroneous
    calls now succeed!
    
    As far as I can tell, tcltest::test works as documented, and
    it's an improvement to take more args than before.
    
    The correct definition of a backwards-incompatible change is
    one in which previously accepted behavior is nolonger
    valid.  An accepted "Tcl-ism" is that one should never rely
    on upwards compatibility of error conditions.
    
    Also, If we change the behavior now, folks whose code relied
    upon the command not throwing an error (a reasonable
    expectation, given the docs) will have broken code.
    
    Given all this, I don't think this patch should be applied.
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"