Flex 2.0.1で謎のエラー

Flex 2.0.1 で以下のエラーが発生.
An internal build error has occurred. Please check the Error Log.
エラーログの要点は,次の通り.
!MESSAGE Uncaught exception in compiler
で,色々と試してみると,とある部分の
if ( true ) { … } else { … }

if ( 1==1 ) { … } else { … }

if ( !false ) { … } else { … }
にして,プロジェクト/クリーンすると,エラーが消える.
しかし,そのコードのすぐそばに
if ( true ) { … } else { … }
とか入れてもエラーは起きない.
原因が判りません.