Overview
| Artifact ID: | 3f214dfb0b98f36b5b6c561742af59e5ec67d1bc |
|---|---|
| Ticket: | 3107983fffffffffffffffffffffffffffffffff
Glitch in the constant expression optimization. |
| User & Date: | avl42 on 2010-11-12 15:32:45 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
% proc tcl::mathfunc::foo x { puts "foo:>>>$x<<<"; return $x } % set x 1; expr {foo($x?" 0x42 ":" 0x41" )} foo:>>> 0x42 <<< 66 % expr {foo(1?" 0x42 ":" 0x41" )} foo:>>>66<<< 66 % If the condition is a constant, then the result of the "?:" operator is numericalized even if it gets passed to an external function. - 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: "avl42"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "Glitch in the constant expression optimization."
- type changed to: "Bug"