You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/02/07 08:09:03 UTC

[GitHub] aharui commented on issue #78: Assign to Boolean variable does not convert to true or false, breaking loose comparison with ==

aharui commented on issue #78: Assign to Boolean variable does not convert to true or false, breaking loose comparison with ==
URL: https://github.com/apache/royale-compiler/issues/78#issuecomment-461323002
 
 
   IMO, the pattern of comparing two booleans is rare and it would not be my preference to see every boolean initialized to false just in case.  Maybe we should consider warning on boolean compares and have an option as to whether to generate the initializer or not.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services