Names as class features

Torsten Anders t.anders at qub.ac.uk
Fri May 16 11:28:55 CEST 2003


Hi,

I tried to add a name as a feature value to a class to have a means to 
recognize them. Unfortunately, it turns out that this does not work as 
expected. Is this a feature or a bug?

Thank you!

Best,
Torsten

declare
N = {NewName}
X = {New class $ feat N:unit meth init skip end end init}

{HasFeature X N}		% -> false
X.N 					% causes error

-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.
Please send bug reports to bugs at mozart-oz.org.





More information about the mozart-users mailing list