Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c6c63c10f0f2a5fc7a63797e059a222739e72c6e
Ticket: f961d7d1dd7ea455faed12e2406292c3eff78c35
ensemble parameters in error msg - unclear quoting
User & Date: dgp on 2016-05-13 17:54:49
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    % namespace ensemble create -command foo -subcommands sub -parameters {w {x y} z}
    ::foo
    
    Three parameters, the 2d with strange name "x y".
    
    % foo
    wrong # args: should be "foo w x y z subcommand ?arg ...?"
    
    Error message appears to claim [foo] wants 4 parameters.
    Try to follow advice:
    
    % foo a b c d sub
    unknown or ambiguous subcommand "d": must be sub
    
    This just looks wrong to me, but it appears to be a wrong
    that was deliberately chosen at some effort.  History
    education as to why it shouldn't be changed is invited.
    
  5. is_private changed to: "0"
  6. login: "dgp"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Minor"
  10. status changed to: "Open"
  11. submitter changed to: "dgp"
  12. subsystem changed to: "21. [namespace]"
  13. title changed to: "ensemble parameters in error msg - unclear quoting"
  14. type changed to: "Bug"