About printing of namespace

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

About printing of namespace

Stéphane Ducasse
Hi

this is annoying to see the name of the namespace followed by (namespace) and this for all the chain.
especially when we represent packages :)

What was the reason to get the ( )?
In my image I systematically change



printOn: aStream
        self belongsTo ifNotNil: [:parent |
                parent printOn: aStream.
                aStream
                        nextPut: $:;
                        nextPut: $: ].
        self name ifNotNil: [ aStream nextPutAll: self name ].
        aStream nextPutAll: ' (Namespace)'

=>

printOn: aStream
        self belongsTo ifNotNil: [:parent |
                parent printOn: aStream.
                aStream
                        nextPut: $:;
                        nextPut: $: ].
        self name ifNotNil: [ aStream nextPutAll: self name ].


same for packages.
Stef
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev