I guess we were going to figure out if we want to add the artificial notion of the length field, or just ask people to use size(). 'length' is really weird, as it doesn't really exist as a field, and only applies to arrays.

Why confuse the syntax with an additional way to get size?

geir

On Tuesday, September 9, 2003, at 06:40 AM, Mark H. Wilkinson wrote:

On Sun, 2003-09-07 at 03:28, Tim O'Brien wrote:
JexlTest line 443: "assertExpression(jc, "array.length", new Integer(5));"

This is failing because (from what I'm seeing), length isn't given any special
treatment in Parser.jjt.


Any ideas?

I proposed the attached fix a few months back, but geir wanted to discuss other possible ways of implementing the length function so he didn't apply it. There's been no progress since then though.

-Mark.

<array- length.patch>---------------------------------------------------------- -----------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-434-2093(m)
[EMAIL PROTECTED]                                   203-247-1713(m)


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to