Overview
| Artifact ID: | 3d7b9b3aef0ac326a1cb51df2dca32fd19885e17 |
|---|---|
| Ticket: | 3588512fffffffffffffffffffffffffffffffff
expr { ( ! true ) == false } |
| User & Date: | heinrichmartin on 2012-11-19 15:13:07 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OS: Debian Squeeze Promblem: expr is not consistent with boolean values and operators, i.e. [expr { ( ! true ) == false }] yields 0 Expected: "not true" is logically the same as "false" - expr should know that. A few notes: * tested in tclsh 8.5 * found no bugs for "expr" in current and developement * a fix could break existing code (that's why I put it in group developement) * workaround: always use bool() or !! for explicit conversion, i.e. [expr { ( ! true ) == bool ( false ) }] yields 1 - foundin changed to: "current: 8.6.0"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "heinrichmartin"
- subsystem changed to: "None"
- title changed to: "expr { ( ! true ) == false }"
- type changed to: "Bug"