[bug][bug][crash]

michalstarke Michal.Starke at lettres.unige.ch
Wed Mar 10 01:49:09 UTC 1999


while setting up a pws for rpc, and dealing with overzealously-parsed CGIs,
a couple of strange behaviours showed up. for the record... :

i. if you do a #perform:withArguments: on a mono-argumental method but
specify several arguments in the withArguments section, the method is
passed its own name as an argument... Eg::

String perform: #fromString: withArguments: #('this is ok').
String perform: #fromString: withArguments: #('this is ...' '... weird').

the second statement results in: 'fromString:' (while the first correctly
results in 'this is ok').


ii. The statement  '6 size' evaluates to 0... (This is true for any
number). Is this the intended semantics of 'size'?


iii. The statement 'String perform: #fromString: withArguments: 1' entirely
crashes the VM (on linux-squeak at least, haven't checked whether it
crashes mac and win)





More information about the Squeak-dev mailing list