Overview
| Artifact ID: | 7a42890243275b249d3298772382306c1ebd1ea8 |
|---|---|
| Ticket: | b198d6560a6174dcec95bde749cf450d1052d406
3-argument switch doesn't get bytecompiled |
| User & Date: | anonymous on 2013-07-18 17:22:56 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The 3-argument form of switch does not get bytecompiled, despite the suggestion in the source code that it does. See http://core.tcl.tk/tcl/artifact/3805ec834a6f0d7bb27d13f893242acb82229c36?ln=1031,1033 These result in a jump table: ::tcl::unsupported::disassemble script {switch $a {foo - bar - baz {set a 1}}} ::tcl::unsupported::disassemble script {switch -exact -- $a {foo - bar - baz {set a 1}}} But this does not ::tcl::unsupported::disassemble script {switch -exact $a {foo - bar - baz {set a 1}}} - foundin changed to: "91ed4186a8dd4deb14dd4fb8128c78c212ca26ef"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "ab5c04693d4ea3b3339a1e41947ceb8da8054625"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "3-argument switch doesn't get bytecompiled"
- type changed to: "Bug"