-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
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
asformat: Error formatting MXML files #701
Comments
Interesting! It's a stack overflow while using a regular expression in Java. |
I was able to reproduce a couple of times on macOS, but it's happening very inconsistently. It seems to happen every time on Windows. |
Is this now just a matter of waiting for the next Royale Compiler release? |
Yes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the Script tag contents of an MXML file becomes too long (which isn't very long at all), formatting will break. Deleting code will allow it to work again. This occurs with both CRLF and LF line endings, though CRLF seems to be a little more sensitive than LF. Behaviour is quite inconsistent, as I can re-add code after it breaks and it will still work - up to a point at least.
Here is the output from the error: Error.txt
And this is the file used in the animation above: TileList.mxml.txt
I am using a Windows PC, and I have a feeling this error doesn't occur in macOS.
The text was updated successfully, but these errors were encountered: