yishayw commented on issue #164:
URL: https://github.com/apache/royale-compiler/issues/164#issuecomment-727175077


   It looks like the compiler is expecting the states to be of type 
org.apache.royale.states.State whereas a spark application will have an 
mx.states.State.
   
   Changing MXMLScopeBuilder.processState() and replacing
   
           if (!qname.equals(project.getStateClass()) || tag.getMXMLDialect() 
== MXMLDialect.MXML_2006)
   
   with
   
           if (tag.getMXMLDialect() == MXMLDialect.MXML_2006)
   
   Seems to fix it. 
   
   @aharui, any thoughts?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to