FM(Null)(Multi)MultivalueLink has confusing printOn:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FM(Null)(Multi)MultivalueLink has confusing printOn:

Peter Uhnak
Hi,

FM*MultivalueLink has a very confusing printOn: method

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FM*MultivalueLink>>printOn: aStream

self asArray printOn: aStream
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Converting it to array means that when I see a variable in the inspector it describes itself as array which is quite confusing.

Maybe it should be wrapped?

printOn: aStream

self printNameOn: aStream.
aStream nextPut: $(.
self asArray printOn: aStream.
aStream nextPut: $)

Thanks,
Peter