Some useful warnings are missing. How to get them? #758
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I can see this warning in vscode-as3mxml if it's in an
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.
I confirm that I don't see a warning for this one. The ASC 2.0 compiler does not warn for it either, but the Flex SDK compiler does. This seems like a potentially useful warning to add to royale-compiler.
I confirm that I don't see a warning for this one. The ASC 2.0 compiler does not warn for it either, but the Flex SDK compiler does. This seems like a potentially useful warning to add to royale-compiler. |
Beta Was this translation helpful? Give feedback.
I can see this warning in vscode-as3mxml if it's in an
if
, but not in anelse if
. Definitely a royale-compiler bug.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.