From: Keats K. <ke...@xa...> - 2005-07-22 22:40:48
|
This turned out to be a trivial fix to the FunctionVariable class. I'll create a unit test and commit the fix this weekend. I guess I never expected folks to use functions this way, but there's no reason not to allow it. Keats Keats Kirsch wrote: > Thanks for reporting this bug. I was able to reproduce this behavior > using: > > $HTMLEscape("My string").substring(0, 2) > > The result was "My string" instead of "My". The substring just got > ignored. Very strange. > I will investigate. > > Keats > > Nikhil G. Daddikar wrote: > >> In WM 2.0 (release May 14 2005), if I do this: >> >> #set $tasks = $PMUtils().getTasks() >> >> then $tasks is set to the object that PMUtils() returns and not to >> the list of tasks >> >> I think this is a bug, can some one confirm this? > > > > |