Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.