views:

4

answers:

0

I've noticed that FB3/mxmlc occasionally get lazy and decide not to do static type checking.

For example, if I change a method name from oldMethod to newMethod, the compiler will produce a few "possibly undefined method" errors for some references to oldMethod, but other references will go compleatly unnoticed until runtime.

A few other miscellaneous points:

  • A clean/rebuild doesn't fix this.
  • All the references are statically typed (eg, I'm not using :* or :Object)
  • If I modify the files which contain the references, then I start to get compile errors

So, is there any way to fix this? (apart, of course, from touch $(find . -name '*.as'))

related questions