incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Re: [jira] [Updated] (FLEX-51) Please check support for ExactValue initializer
Date Mon, 30 Apr 2012 22:43:55 GMT
Hi

Was just looking into this and creating a few test and I notice that under the current compiler
this give a slightly unexpected result:

[Bindable] protected var initial:String = "Hello";

<s:TextInput text="@Once{initial}" />

The initial string value is "@OnceHello". I would of expected it to not compile (or at least
a warning) as it doesn't understand @Once.

Binding expression like this are valid, so I assume that what it is going with.

<s:TextInput text="You have {noApples} Apples" />

Anyone think this is a bug? Or that at the very least a warning should be issued?

Thanks,
Justin




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message