Skip to content
Tcl Source Code View Ticket
Login

View Ticket

{expand} and {*} both working

Closed / Fixed1710212fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-04-30 19:12:54
The latest tcl8.5a6 supports both the {expand} and the {*} syntax:

% info patchlevel
8.5a6
% set foo bar
bar
% puts {expand}$foo
bar
% puts {*}$foo
bar

I would have expected an error from the now deprecated "{expand}$foo" (see TIP #293).
dkf Ticket [1710212fff]: 4 changes [History diff]2007-05-01 17:13:20
dgpplain2007-05-01 21:29:30
Logged In: YES 
user_id=80530
Originator: NO


This isn't a bug yet, but the report is
good as a timely reminder that we should
not let it become a bug.

{expand} syntax is deprecated.  It does
not appear in the 8.5a6 documentation.
It is not used anywhere within Tcl 8.5a6
itself.  Tcl 8.5a6 is serving as a migration
release.  Both syntaxes work, so people can
update their scripts making use of it, and
continue to have working scripts through
the  migration.

Tcl 8.5.0 should have {expand} syntax
support completely removed, and I interpret
that to mean that 8.5b1 will also, so we're
beta testing the same features as intended
for the stable releases.

See releated Tk bug, 1710633.
dgpplain2007-05-23 01:39:02
Logged In: YES 
user_id=80530
Originator: NO


{expand} syntax removed for
8.5a7/b1
Log in (anonymous is fine) to add a comment.