Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51A5910DE6 for ; Wed, 4 Sep 2013 03:51:54 +0000 (UTC) Received: (qmail 97422 invoked by uid 500); 4 Sep 2013 03:51:53 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 97372 invoked by uid 500); 4 Sep 2013 03:51:53 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 97352 invoked by uid 99); 4 Sep 2013 03:51:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 03:51:51 +0000 Date: Wed, 4 Sep 2013 03:51:51 +0000 (UTC) From: "Cyrill Zadra (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-33321) Falcon doesn't understand overridden setters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cyrill Zadra updated FLEX-33321: -------------------------------- Component/s: Falcon Fix Version/s: Apache Falcon 1.0 > Falcon doesn't understand overridden setters > -------------------------------------------- > > Key: FLEX-33321 > URL: https://issues.apache.org/jira/browse/FLEX-33321 > Project: Apache Flex > Issue Type: Bug > Components: Falcon > Affects Versions: Apache Falcon 1.0 > Reporter: Chema Balsas > Labels: Falcon > Fix For: Apache Falcon 1.0 > > Attachments: OverridingSetters.as, OverridingSettersBase.as > > > Falcon seems to have some problems when determining the return type of overridden setters. > Try to compile OverridingSetters.as. The end result should show a small textfield with the text "Some text" in it. > When trying to compile with falcon, we get the following error and the compilation stops: > Error: Implicit coercion of a value of type String to an unrelated type Function. > txtfield.text = barFunc("text"); > A discovered workaround consists on creating a local variable using the getter first, like: > var barFunc:Function = barFunc; > txtfield.text = barFunc("text"); -- 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