[ https://issues.apache.org/jira/browse/FLEX-35140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Harui resolved FLEX-35140. ------------------------------- Resolution: Fixed Fix Version/s: Apache FalconJX 0.8.0 4a2a54244eb88c598d578e1f2f176172ce054461 Copied code from Appiication.java > uncaught exception on missing parens > ------------------------------------ > > Key: FLEX-35140 > URL: https://issues.apache.org/jira/browse/FLEX-35140 > Project: Apache Flex > Issue Type: Bug > Components: Falcon > Affects Versions: Apache FalconJX 0.7.0 > Reporter: Harbs > Assignee: Alex Harui > Fix For: Apache FalconJX 0.8.0 > > > The following code generates (correctly) generates an error (because it's > missing the parenthesis in the function definition): > public function parseCard8:int > { > return this.parseByte(); > } > When running compc from the command line (using ant) I get the following > error: > Syntax error: Expected PAREN_OPEN but got ':' > When building in Flash Builder, I get the following (unhelpful) error: > java.lang.ClassCastException: > org.apache.flex.compiler.parsing.IASToken$ASTokenKind cannot be cast to > java.lang.String > I'm assuming PAREN_OPEN needs to be converted to a string: "(". -- This message was sent by Atlassian JIRA (v6.3.4#6332)