> Looks pointless isn't it?  Should we just remove them?

What the asdoc compiler error doesn't show is the metadata before the const:

    [Embed(source="../../../assets/images/mobile320/dg_header_shadow.png")]
    private const headerShadowCls320:Class;

So IMO, it's legal, it's just that the asdoc compiler is not smart enough...

So  I will turn them to "var", so that the compiler does not complain anymore.

Maurice

-----Message d'origine-----
De : omup...@gmail.com [mailto:omup...@gmail.com] De la part de OmPrakash 
Muppirala
Envoyé : samedi 22 février 2014 03:00
À : dev@flex.apache.org
Objet : Re: Mobile grid skin warnings while making a release build

On Feb 21, 2014 5:22 PM, "Justin Mclean" <jus...@classsoftware.com> wrote:
>
> Hi,
>
> May or may not be a concern but just in case no one has noticed and it's
important.
>
>  [asdoc]
/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/experimental_mobile/src/spark/skins/MobileGridSkin.as(44):
col: 19 Warning: The constant was not initialized.
>     [asdoc]
>     [asdoc]     private const headerShadowCls320:Class;
>     [asdoc]                   ^
>     [asdoc]
>     [asdoc]
/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/experimental_mobile/src/spark/skins/MobileGridSkin.as(47):
col: 19 Warning: The constant was not initialized.
>     [asdoc]
>     [asdoc]     private const headerShadowCls160:Class;
>     [asdoc]                   ^
>     [asdoc]
>     [asdoc]
/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridHeader.as(51):
col: 19 Warning: The constant was not initialized.
>     [asdoc]
>     [asdoc]     private const ascIcon320Cls:Class;
>     [asdoc]                   ^
>     [asdoc]
>     [asdoc]
/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridHeader.as(54):
col: 19 Warning: The constant was not initialized.
>     [asdoc]
>     [asdoc]     private const descIcon320Cls:Class;
>     [asdoc]                   ^
>     [asdoc]
>     [asdoc]
/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridHeader.as(57):
col: 19 Warning: The constant was not initialized.
>     [asdoc]
>     [asdoc]     private const ascIcon160Cls:Class;
>     [asdoc]                   ^
>     [asdoc]
>     [asdoc]
/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridHeader.as(60):
col: 19 Warning: The constant was not initialized.
>     [asdoc]
>     [asdoc]     private const descIcon160Cls:Class;
>     [asdoc]                   ^
>     [asdoc]
>       [zip] Updating zip:
/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/locale/en_US/experimental_mobile_rb.swc
>      [copy] Copying 1 file to
/Users/justinmclean/Documents/ApacheFlex4.12.0/frameworks/projects/experimental_mobile/bundles/en_US
>

Looks pointless isn't it?  Should we just remove them?

Thanks,
Om

Reply via email to