“Don’t use it and you’ll be fine”
by Ruben
When you add a class to a Flex project, with one or more syntax errors in it, Flex will not notice untill the class is actually instanciated in a file that is, directly or indirectly, used by the main MXML file.
Even if the 'bad' class is imported into another class related to the main project file, the Flex SDK will not mention any of the errors in the bad class if it isn't instanciated.
Doesn't that strike anyone as weird? Wouldn't I want to know about errors in my code regardless of whether or not another class is using it (yet)?