ok,

btw I think Greg put all info in the thread: Language/Reflection
improvements details

El mar., 11 jun. 2019 a las 16:22, Yishay Weiss (<[email protected]>)
escribió:

> This is my mistake, I was using a library that was compiled with an older
> compiler. Sorry for the noise.
>
> ________________________________
> From: Yishay Weiss
> Sent: Tuesday, June 11, 2019 2:07:36 PM
> To: [email protected]
> Subject: Problem with Vectors
>
> Hi Greg,
>
> I just updated Royale and I’m seeing that in our class FontLoader
>
> private var _fonts:Vector.<Font> = new Vector.<Font>();
>
> gets transpiled to
>
> this.com_printui_text_engine_FontLoader__fonts =
> org.apache.royale.utils.Language.Vector();
>
> Notice how the type isn’t given in Vector’s constructor. This results in a
> runtime error [1]. Any ideas?
>
> [1]
>
> TypeError: Cannot read property 'indexOf' of null
> Watch
> Call Stack
> org.apache.royale.utils.Language.VectorSupport.vectorElementCoercion
> Language.js:868
> org.apache.royale.utils.Language.synthVector
> Language.js:642
> org.apache.royale.utils.Language.Vector
> Language.js:685
> com.printui.text.engine.FontLoader
> FontLoader.js:24
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to