[
https://issues.apache.org/jira/browse/FLEX-27546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean updated FLEX-27546:
---------------------------------
Labels: easytest (was: )
> "Parameter initializer unknown or is not a compile-time constant" for
> Number.MIN_VALUE
> --------------------------------------------------------------------------------------
>
> Key: FLEX-27546
> URL: https://issues.apache.org/jira/browse/FLEX-27546
> Project: Apache Flex
> Issue Type: Bug
> Components: .Unspecified - Compiler
> Affects Versions: Adobe Flex SDK 4.5 (Release)
> Environment: Affected OS(s): Windows
> Affected OS(s): Windows 7
> Language Found: English
> Reporter: Adobe JIRA
> Labels: easytest
>
> Steps to reproduce:
> Try to compile just this mxml snippet using the Flex 4.5 SDK:
> <?xml version="1.0"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark">
> <fx:Script><![CDATA[
> private function test(val:Number = Number.MIN_VALUE):void {
> trace("test: "+val);
> }
> ]]
> ></fx:Script>
> </s:Application>
>
> Actual Results:
> Compiler Error: "Parameter initializer unknown or is not a compile-time
> constant."
> If *just* this mxml application is compiled, this can be reproduced
> consistently. However, if other classes/.swcs are added as dependencies, the
> same code might actually compile even with the 4.5 SDK.
>
> Expected Results:
> This should compile just fine - it does when using the Flex 4.1 SDK.
>
>
> Workaround (if any):
>
--
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