Overview
| Artifact ID: | d2ba4d232dd942c4227689f807de61f0e2eb4f0d |
|---|---|
| Ticket: | 1584674fffffffffffffffffffffffffffffffff
where has the syntax error detection gone |
| User & Date: | pcmacdon on 2006-10-25 19:09:51 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
I was trying out 8.5a5 thinking that it's new compiled switch feature would improve Tcl's detection of syntax errors in switch arms, but instead found not only is it unchanged, but that the basic error detection of "if" is now gone. For example the following script causes 8.3 and 8.4 to barf, but is perfectly legal in 8.5: proc bar var { if {$var == "acorn"} { set a b c } } bar a Ditto for proc bar var { if {$var == "acorn"} { set a [b c } } The "no errors til you execute it" policy means you need nearly perfect code coverage testing to use Tcl with any confidence. - 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: "pcmacdon"
- subsystem changed to: "None"
- title changed to: "where has the syntax error detection gone"
- type changed to: "Bug"