Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6A1618AD0 for ; Sun, 15 Nov 2015 16:07:08 +0000 (UTC) Received: (qmail 38343 invoked by uid 500); 15 Nov 2015 16:07:08 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 38306 invoked by uid 500); 15 Nov 2015 16:07:08 -0000 Mailing-List: contact dev-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 dev@flex.apache.org Received: (qmail 38294 invoked by uid 99); 15 Nov 2015 16:07:08 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Nov 2015 16:07:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C60C9C0845 for ; Sun, 15 Nov 2015 15:55:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xwZL59eOhZnj for ; Sun, 15 Nov 2015 15:55:57 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 4CD41207E3 for ; Sun, 15 Nov 2015 15:55:57 +0000 (UTC) Received: by wmec201 with SMTP id c201so143290173wme.0 for ; Sun, 15 Nov 2015 07:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=X/nn3uuFs2KgJ/v6HYBzIgHrCdV3xaayQH95foJcmoA=; b=MEofOCTBAYPTQHxeBxqw4fSwSjQKk9emA4vLRy1XJIIn8xWMm0QtzzTdqC/w8lyiLz n4LVRJB7+I9/dWA1CZMjwZTijDLZxbAcbxnw/oLjEcshDffTQRE2zB8Ax4FefpG3cITH 7VAEARjEpcFy8ovGA8RRhJJ42ZLmFWCicbQ2mj2u7wVE5QeM4jBvfiAt985/ATTcnaPE Y6A7c6oZR8IYhTdmwUIjFKP8La/0mkyFrwEqwc1ux8oMVXFXYIiuOsyuF+D+QEXHbsXv h1gYB1rAvov/aTVIRuJuokVOcwxEalpOAbRSyFEw0zjYG2mVW6y8/zuHbn9l/1Yd7V2M HQDA== X-Received: by 10.28.18.11 with SMTP id 11mr13954208wms.68.1447602956970; Sun, 15 Nov 2015 07:55:56 -0800 (PST) Received: from [127.0.0.1] ([185.120.126.25]) by smtp.gmail.com with ESMTPSA id cw3sm25756211wjb.26.2015.11.15.07.55.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 15 Nov 2015 07:55:55 -0800 (PST) From: Harbs Content-Type: multipart/alternative; boundary="Apple-Mail=_0155FA2C-87BF-4FBA-8DD0-FA9D79252E5A" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port) Date: Sun, 15 Nov 2015 17:55:53 +0200 References: <390A28B3-CD8A-404D-98F3-66378A7C32A9@gmail.com> <0E3B1560-BCEC-44E6-81ED-7F775C0AC901@gmail.com> <75DB4888-147A-43BF-AFC0-5B07EA608674@gmail.com> <2A23BA36-39F4-4098-A1FC-AC0C47F6D621@gmail.com> <2AD96C25-0B7B-40E3-9C2E-71D67421D907@gmail.com> <350273DB-024B-4893-981D-3BC5B7F363F4@gmail.com> <013AEB62-9386-47F5-A04D-99F7CFE08B3C@gmail.com> <4105D0ED-E900-4607-995F-3EDB57BFC007@gmail.com> <97AB540A-3257-44F8-98A4-D043D3BA790C@gmail.com> <026B991E-C4C5-461C-877A-03867B753519@gmail.com> <8BAEC5AE-DC92-4C6B-9DC5-6F1DEF3C83B7@gmail.com> To: dev@flex.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1878.6) --Apple-Mail=_0155FA2C-87BF-4FBA-8DD0-FA9D79252E5A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Right, but I don=92t see any way around this. Simple property access = will not work for the reasons I wrote above. On Nov 15, 2015, at 5:49 PM, Alex Harui wrote: > The compiler does not know that myXML is from myClass so it would = simply > add a property access to foo. Now we could require that folks more > strongly type their code by adding in >=20 > trace((event.target.myXML as XMLList).foo); >=20 >=20 > But we might get complaints. The fact we normally don=92t need all = that > casting is what can make AS more efficient than languages that require = the > casting like Java and C++. --Apple-Mail=_0155FA2C-87BF-4FBA-8DD0-FA9D79252E5A--