Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-04-10
15:04 • Closed ticket [3396896fff]: Multiple same variable names plus 6 other change... artifact: 990b45e231 user: dkf
04:39 • Ticket [3396896fff]: 6 changes artifact: 92acfbfcd7 user: dkf
2011-08-25
01:09 • Ticket [3396896fff]: 4 changes artifact: f6d60ff9a0 user: dkf
2011-08-23
13:06 • New ticket [3396896fff]. artifact: d078dd996c user: dzach

Multiple same variable names

Closed / Fixed3396896fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-08-23 13:06:15
It seems possible to define the same variable multiple times for an object:

% ::oo::class create test
::test
% test create t
::t
% ::oo::objdefine t variable v v v v 
% info object variable t
v v v v 

% info patch
8.6b1.2
dkfplain2011-08-25 01:09:26
It's harmless; it just slows your code down for no benefit.
dkfplain2012-04-10 04:39:00
Fixed for 8.6; kept open until backported
dkfplain2012-04-10 15:04:01
allow_comments - 1

backported to TclOO package
Log in (anonymous is fine) to add a comment.