We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following incomplete code causes the error below when building for JS.
<svg:Text text="{}"/>
Internal error: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 java.lang.String.charAt(String.java:658) org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(LiteralEmitter.java:159) org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitLiteral(JSRoyaleEmitter.java:850) org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitLiteral(ASBlockWalker.java:466) org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:373) org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85) org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110) org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:157) org.apache.royale.compiler.internal.codegen.as.ASEmitter.stringifyNode(ASEmitter.java:1574) org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.outputBindingInfoAsData(MXMLRoyaleEmitter.java:1244) org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitBindingData(MXMLRoyaleEmitter.java:1196) org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitDocument(MXMLRoyaleEmitter.java:637) org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitDocument(MXMLRoyaleBlockWalker.java:69) org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:84) org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:149) org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitFile(MXMLRoyaleBlockWalker.java:61) org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:90) org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:149) org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitCompilationUnit(MXMLBlockWalker.java:168) org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MXMLWriter.java:71) org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:374) org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:240) org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:197) org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:345) org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:281) org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:240) org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:222)
The text was updated successfully, but these errors were encountered:
8b0ee71
aharui
No branches or pull requests
The following incomplete code causes the error below when building for JS.
<svg:Text text="{}"/>
Internal error: java.lang.StringIndexOutOfBoundsException: String index out
of range: 0 java.lang.String.charAt(String.java:658)
org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(LiteralEmitter.java:159)
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitLiteral(JSRoyaleEmitter.java:850)
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitLiteral(ASBlockWalker.java:466)
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:373)
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:157)
org.apache.royale.compiler.internal.codegen.as.ASEmitter.stringifyNode(ASEmitter.java:1574)
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.outputBindingInfoAsData(MXMLRoyaleEmitter.java:1244)
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitBindingData(MXMLRoyaleEmitter.java:1196)
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitDocument(MXMLRoyaleEmitter.java:637)
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:84)
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:149)
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:90)
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:149)
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitCompilationUnit(MXMLBlockWalker.java:168)
org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MXMLWriter.java:71)
org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:374)
org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:240)
org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:197)
org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:345)
org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:281)
org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:240)
org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:222)
The text was updated successfully, but these errors were encountered: