[Laszlo-dev] For Review: Change 20080109-dda-l Summary: Script compiler: Backported :* typing from devildog to trunk; added typing in 'for var in' statements.
P T Withington
ptw at pobox.com
Wed Jan 9 14:35:58 PST 2008
Minor point: you probably don't need to disallow 'in' in the
typeexpression, only in the initializer.
Approved either way.
On 2008-01-09, at 16:16 EST, Donald Anderson wrote:
> Change 20080109-dda-l by dda at lester.local on 2008-01-09 16:00:35 EST
> in /Users/dda/laszlo/src/svn/openlaszlo/trunk
> for http://svn.openlaszlo.org/openlaszlo/trunk
> Summary: Script compiler: Backported :* typing from devildog to
> trunk; added typing in 'for var in' statements.
> New Features: Any variable can be declared with :* (in addition
> to :typename as before).
> Bugs Fixed: LPP-5059
> Technical Reviewer: ptw (pending)
> QA Reviewer: hminsky (pending)
> Doc Reviewer: (pending)
> Conforms with ECMAScript-4 draft standard.
> Release Notes:
> One part of this change (:* types) is backported from devildog -
> the change was small and relatively independent and should have been
> made in trunk/RingDing before.
> The other part of this change is a small grammar change to allow
> typing in 'for var in' statements, like so:
> for (var:typename in xxx)
> for (var:* in xxx)
> Updated test/typevar.lzx to have a couple tests for 'for var in'
> and :*, which
> were not there before.
> M test/typevar.lzx
> M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt
> M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/parser/
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080109-dda-l.tar
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
> voice: 617-547-7881
> email: dda at ddanderson.com
> www: http://www.ddanderson.com
More information about the Laszlo-dev