Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3ce20b9761bfd2d6ed2508b1e863c14ba43448da
Ticket: fd2d126f231e1c228ff250b220823d76967bd506
Wrong proc doesn't guives an error
User & Date: dkf on 2015-05-17 11:06:38
Changes

  1. icomment:
    No, each formal argument has always been a list. It's just that <tt>proc</tt> has simply never checked for this failure mode. At some point we might get around to making optionals-in-the-middle work. But for now, it's a (really) low priority, especially as it is a performance-sensitive area.<p>Making this be a declaration-time error would be reasonable. The only concern would be how much of an impact on existing (non-working) scripts this would have.
    
  2. login: "dkf"
  3. mimetype: "text/html"
  4. username: "dkf"