Re: [SMARTY] Re: object calls fail after upgrade to 2.6.4
| From: | Hans Jürgen von Lengerke | Date: | Thu, 09 Sep 2004 20:33:50 +0000 |
| Subject: | Re: [SMARTY] Re: object calls fail after upgrade to 2.6.4 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.smarty.dev php.smarty.general |
| Request: | Send a blank email to php-smarty-dev+get-2554@lists.php.net to get a copy of this message | ||
Hi Monte,
Monte Ohrt wrote:
> I committed CVS the ability to put objects in arbitrary parameter
> positions. See if that works, and thanks for testing.
This one works now
>> {$obj->meth("foo", $obj->val)}
but the 1.339 fix for Smarty_Compiler.class.php introduced another
variant of the problem, that wasn't present before.
{$obj->meth($foo, 2.5)}
fails now.
I saw the regex you're working on and it looks scary. Without trying to
be patronizing, I really think that the unit test should be added to the
test suite.
Hans