<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"></HEAD><BODY><DIV> </DIV>Hy,<BR><BR>In 1 I report an introspection bug, in 2 an ahestetic bug and in 3 a <BR>personal consideration about a possible XOTcl improvement.<BR><BR>1. Introspection: "info methods" duplicated entry<BR><BR>In the following I report e test case that shows the problem:<BR><BR>Class MetaClass1 -superclass Class -parameter {{a "v1"} {b ""}}<BR>Class MetaClass2 -superclass MetaClass1 -parameter {{a "v2"} {c ""}}<BR><BR>MetaClass1 Class1<BR>MetaClass2 Class2<BR><BR>lsort [Class2 info methods]<BR>result: __next a a abstract ....<BR>expected: __next a abstract ....<BR><BR>Class2 info methods a<BR>result:a a <BR>expected: a<BR><BR><BR>2. Usage string<BR><BR>Object n<BR>n info children -class Interface<BR>wrong # args: should be {::n info children ?pat?}<BR><BR>I expect:<BR>wrong # args: should be {::n info children}<BR><BR>or there is somethig missing in the language reference documentation?<BR><BR>3. Dynamic Object aggregation improvement issues<BR><BR>I think would be useful, especially for performance reasons, that <BR>dynamic object aggregation have more introspection functionalities at <BR>core language level:<BR>for example at the info children command could be added options that <BR>returns children filtered by children class (and object names and ... ?)<BR><BR>More in general,an useful feature could be returning all children that <BR>match some assertions (something like an invariant list)<BR><BR><BR>Attilio<BR><BR><BR><BR><BR><DIV><FONT size=2><FONT
face="Courier New">--------------------------------------------------------------------<BR>CONFIDENTIALITY
NOTICE<BR>This message and its attachments are addressed solely to the
persons<BR>above and may contain confidential information. If you have
received<BR>the message in error, be informed that any use of the content
hereof<BR>is prohibited. Please return it immediately to the sender and
delete<BR>the message. Should you have any questions, please contact us
by<BR>replying to </FONT><A href="mailto:webmaster@telecomitalia.it"><FONT
face="Courier New">webmaster@telecomitalia.it</FONT></A><FONT
face="Courier New">.<BR> Thank
you<BR>
</FONT><A href="http://www.telecomitalia.it"><FONT
face="Courier New">www.telecomitalia.it</FONT></A><BR><FONT
face="Courier New">--------------------------------------------------------------------</FONT></FONT></DIV></BODY></HTML>