Overview
| Artifact ID: | 1dbc531a4e2b6b455293d4b74f511f1715e01aaa |
|---|---|
| Ticket: | 1671138fffffffffffffffffffffffffffffffff
foreach: empty var list -> inf loop |
| User & Date: | dgp on 2007-02-28 18:58:55 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
This script hangs Tcl: proc demo {} { foreach {} x {} } demo By contrast, the non-compiled [foreach] does this: % foreach {} x {} foreach varlist is empty I'm not convinced that an error is really the right response, but infinite loop is definitely wrong. - foundin changed to: "obsolete: 8.5a6"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "foreach: empty var list -> inf loop"
- type changed to: "Bug"