Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2017-09-20
00:09 • New ticket [03e15a6342] Strict mode. artifact: dc82750fad user: anonymous

Strict mode

Open03e15a6342ccac793a762bb65784422eb4a367b3Created 9 years agoUpdated 9 years ago
Descriptionplain2017-09-20 00:09:57
It would be useful to have a mode where Tcl would scream about syntax errors (or warnings or whatever) in situations that are visually clearly typos (or generally something strange). May be that Tcl has some support for that, though I have not found anything like that.

An example of stuff that I wonder how Tcl supposes that it is OK:
set list_var [list "a" "b" "c" "d"]]
especially when executing the inner part itself results in error:
list "a" "b" "c" "d"]
Log in (anonymous is fine) to add a comment.