flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-21178) Using Function as Dictionary key fails.
Date Wed, 17 Apr 2013 04:17:17 GMT

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

Justin Mclean updated FLEX-21178:

    Labels: easyfix easytest  (was: )
> Using Function as Dictionary key fails.
> ---------------------------------------
>                 Key: FLEX-21178
>                 URL: https://issues.apache.org/jira/browse/FLEX-21178
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Framework
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easyfix, easytest
> Steps to reproduce:
> 1. I have attached source file and put comment there, though I'll try to explain more.
> - if the class that extends Dictionary attempts to add a key of type Function in it's
constructor, given the class isn't declared dynamic, the code compiles, but when run gives
> - if the same class extending Dictionary attempts to add key of type Function in it's
setter, the code compiles and assignment inside the setter succeeds. However, getting this
function later is not possible.
> - if the class extending Dictionary is also declared as dynamic, the assignment  in constructor
succeeds, but getting this key from the dictionary is not possible.
> I'm not sure if this is a player bug, or compiler bug... or maybe this is an intended
behavior... although IMO inconsistent :/
> I'm also sure that a plain Dictionary is well capable of storing and retrieving keys
of type Function, so, I don't see any reason to why would that be not possible for classes
extending it...
> I'm compiling for player version WIN 10,0,32,18

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message