Overview
| Artifact ID: | 72b3680d07c5de56f5393167de4e64a221dde05f |
|---|---|
| Ticket: | 1893052fffffffffffffffffffffffffffffffff
Object type info can be lost after comparison (e.g. INST_EQ) |
| User & Date: | nobody on 2008-02-13 20:02:31 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
set a ... set b ... if {$a == $b} { ... } Regardless of the actual types of objects a and b, numerical comparison is coerced by Tcl engine if at all possible, which includes the case when string representations of both objects look like numbers. Both arguments are then converted to numeric types (e.g. via Tcl_GetWideIntFromObj), and the original object type information is irretrievably lost. This is a problem when custom type of an object cannot be restored from its string representation. - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to:
Object type info can be lost after comparison (e.g. INST_EQ)
- type changed to: "Bug"