[vwnc] Sender of the empty symbol yields references to empty string

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

[vwnc] Sender of the empty symbol yields references to empty string

Wouter Gazendam
Just out of curiosity, when I search in my image for references to the empty symbol ( #'' ), I also see things like

AbstractChangeList>>blankText

     self setValue: '' asText.
    self changed: #value.
    ^'' asText

in my result set. However, this method only contains empty strings, no empty symbols. This also seems to work for short strings like 'a', but does not work for longer strings like 'Help System version 2.0'.
When inspecting  "AbstractChangeList compiledMethodAt: #blankText" the method doesn't seem to contain empty symbol literals.

Is this normal behavior?

Thanks,

Wouter Gazendam

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Sender of the empty symbol yields references to empty string

Reinout Heeck-2
Wouter Gazendam wrote:

> Just out of curiosity, when I search in my image for references to the
> empty symbol ( #'' ), I also see things like
>
> AbstractChangeList>>blankText
>
>      self setValue: '' asText.
>     self changed: #value.
>     ^'' asText
>
> in my result set. However, this method only contains empty strings, no
> empty symbols. This also seems to work for short strings like 'a', but
> does not work for longer strings like 'Help System version 2.0'.
> When inspecting  "AbstractChangeList compiledMethodAt: #blankText" the
> method doesn't seem to contain empty symbol literals.
>
> Is this normal behavior?


I'm not sure, but in our images as Soops we *make* it normal behavior.

This is because we need 'senders of' to be as reliable as possible, but
in window specs aspect paths sometimes get encoded in a string - so we
hacked senders of to search inside strings too.




R
-









>
> Thanks,
>
> Wouter Gazendam
> ------------------------------------------------------------------------
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>  

--
*********************************************************************

Dit e-mailbericht is alleen bestemd voor de geadresseerde(n).

Gebruik door anderen is niet toegestaan. Indien u niet degeadresseerde(n) bent wordt u verzocht de verzender hiervan op de hoogte te stellen en het bericht te verwijderen. Door de elektronische verzending kunnen aan de inhoud van dit bericht geen rechten worden ontleend.

Soops B.V. is gevestigd te Amsterdam, Nederland, en is geregistreerd bij de Kamer van Koophandel onder nummer 33240368.
Soops B.V. levert volgens de Fenit voorwaarden, gedeponeerd te Den Haag op 8 december 1994 onder nummer 1994/189.
**********************************************************************

This e-mail message is intended to be exclusively for the addressee.

If you are not the intended recipient you are kindly requested not to make any use whatsoever of the contents and to notify the sender immediately by returning this e-mail message. No rights can be derived from this message.

Soops B.V. is a private limited liability company and has its seat at Amsterdam, The Netherlands and is registered with the Trade Registry of the Chamber of Commerce and Industry under number 33240368.
Soops B.V. delivers according to the General Terms and Conditions of Business of Fenit, registered at The Hague, The Netherlands on December 8th, 1994, under number 1994/189
**********************************************************************


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc