Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bf127799b01cab7b58d637e712bea321530fe551f1665f236a8b6b16440bcdba
Ticket: 9f4feaaaa11646ec51d345a2697de898850c16f9
tcltest test contraints with a dash (-) in the name doesn't work
User & Date: pointsman on 2023-04-24 21:26:44
Changes

  1. icomment:
    Well, I quoted what I found in the man page about that already in the ticket:
    
    "Each constraint has a name, which may be any string"
    
    I suspected that it may be something with the dichotomy of the -constraints attribute value "keywordList|expression". But the documentation is mostly silent what "expression" means, perhaps because it recommends to not use it.
    
    Seems, even if it should be not used it comes easily into the way of using tcltest. That's unfortunate.
    
    I have no clue how often and for which cases contraints expressions are used. So I can easily say remove that completely. It may be important to some.
    
    But an expression which _substract_ a boolen value from another boolean doesn't seem a good solution for no matter what problem.
    
  2. login: "pointsman"
  3. mimetype: "text/plain"