Overview
| Artifact ID: | 646cf9084acdce0f2b378d2cfff36ddb71bab5e3 |
|---|---|
| Ticket: | 1584674fffffffffffffffffffffffffffffffff
where has the syntax error detection gone |
| User & Date: | msofer on 2008-01-12 20:46:25 |
Changes
- closedate changed to: "2008-01-12T13:46:25"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Originator: NO This is per design. Tcl's has string interpretation semantics, the bytecompiler has to respect that. Tcl8.5 has fixed a number of bugs in that area. If we checked for syntax errors you couldn't run the following "perfectly valid" code. Tcl8.4 will return an error, which is a bug. proc foo bar { if {$bar == 0} { set a [badcall c } else { set a $bar } } foo 1 ;# returns 1 proc if args {return $args} foo 0 Not arguing that you would *want* to run code like that, only that a string interpretation language will run it. - login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "msofer"