Harbs created FLEX-35065: ---------------------------- Summary: Object literals don't always work Key: FLEX-35065 URL: https://issues.apache.org/jira/browse/FLEX-35065 Project: Apache Flex Issue Type: Bug Components: FalconJX Affects Versions: Apache FalconJX 0.6.0 Reporter: Harbs
The following code: public class XML { static public var ignoreComments:Boolean = true; static public var ignoreProcessingInstructions:Boolean = true; static public var ignoreWhitespace:Boolean = true; static public var prettyIndent:int = 2; static public var prettyPrinting:Boolean = true; static public function settings():Object { return { ignoreComments : ignoreComments, ignoreProcessingInstructions : ignoreProcessingInstructions, ignoreWhitespace : ignoreWhitespace, prettyIndent : prettyIndent, prettyPrinting : prettyPrinting } } } compiles into: XML.settings = function() { return {XML.ignoreComments:XML.ignoreComments, XML.ignoreProcessingInstructions:XML.ignoreProcessingInstructions, XML.ignoreWhitespace:XML.ignoreWhitespace, XML.prettyIndent:XML.prettyIndent, XML.prettyPrinting:XML.prettyPrinting}; }; -- This message was sent by Atlassian JIRA (v6.3.4#6332)