flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <carlos.rov...@codeoscopic.com>
Subject Re: ArrayElementType?
Date Mon, 06 Mar 2017 08:46:17 GMT
In my experience this metadata was almost useless since as Clint said is
only MXML,
but you should get remote data 99% of the times, so in the end you end not
using it
for the few cases that you could have declared in code (that should be
typical hello worlds
basic examples that doesn't match real world at all)

2017-03-02 17:49 GMT+01:00 Alex Harui <aharui@adobe.com>:

> On 3/2/17, 8:11 AM, "Harbs" <harbs.lists@gmail.com> wrote:
> >Interesting.
> >
> >So this only works with MXML or with ActionScript too?
> Just MXML.  We could try to get the compiler to use it when checking
> assignments in ActionScript, but I think that there would be cases where
> it wouldn't do the right thing since AS allows some forms of automatic
> type conversion.  And still, that would only be compile-time.  The Flash
> runtime does not use Metadata to guide runtime behavior.  Vector was
> introduced to provide runtime support for typed arrays.
> >
> >I’m wondering if we can use this for typed arrays in externs compiled
> >using compc.
> ExternC will emit ArrayElementType for certain patterns, but not currently
> for the one you ran into.
> Thanks,
> -Alex


Carlos Rovira
Director General
M: +34 607 22 60 05

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message