Skip to content

Some useful warnings are missing. How to get them? #758

Answered by joshtynjala
ylazy asked this question in Q&A
Discussion options

You must be logged in to vote

Warning: 1100: Assignment within conditional. Did you mean == instead of =?

I can see this warning in vscode-as3mxml if it's in an if, but not in an else if. Definitely a royale-compiler bug.

Warning: 3592: startAt is not a recognized property of the dynamic class RegExp.

I confirm that I don't see a warning for this one.

This one is interesting. A dynamic class is intended to support additional properties that it does not define. It seems strange to me that setting a property like this would result in a warning. The ASC 2.0 compiler does not warn for it either, but the Flex SDK compiler does.

I would lean toward not adding this warning to royale-compiler.

Warning: 3590: int used whe…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ylazy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants