[ 
https://issues.apache.org/jira/browse/FLEX-33888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-33888:
---------------------------------

    Labels: Vector condition easytest  (was: Vector condition)

> Failed to compile conditional Vector creation
> ---------------------------------------------
>
>                 Key: FLEX-33888
>                 URL: https://issues.apache.org/jira/browse/FLEX-33888
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Compiler
>    Affects Versions: Adobe Flex SDK 4.5 (Release), Adobe Flex SDK 4.6 
> (Release), Apache Flex 4.10.0, Apache Flex 4.11.0
>            Reporter: Maxim Jurat
>              Labels: Vector, condition, easytest
>
> Steps to reproduce: 
> 1. Compile this:
> var v:Vector.<String>; 
> v||= new <String>[];
> 2. Compilation failed with: "Error code: 1067: Implicit coercion of a value 
> of type Class to an unrelated type __AS3__.vec:Vector."
> AIR sdk compiles this without any errors.
> Workaround: use if condition instead.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to