Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 59dc3422b086dd3bfc0a519d98eddce490c80801
Ticket: 475397ffffffffffffffffffffffffffffffffff
[switch] accepts illegal arguments
User & Date: dgp on 2001-10-26 18:36:11
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    $ tclsh
    % switch a a {} c
    % switch a [list a {} c]
    
    Both examples are illegal
    calls of [switch] because
    they include a pattern
    without a body, but neither
    raises an error.
    
    An error should be raised in
    each case.
    
  4. foundin changed to: "obsolete: 8.4a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "18. Commands M-Z"
  10. title changed to: "[switch] accepts illegal arguments"
  11. type changed to: "Bug"