Issue 136: Check enum comparison
Status:  Fixed
Owner:
Closed:  Sep 2011
Project Member Reported by gameh...@gmail.com, Sep 8, 2011
It is allowed to compared two enums without parameters, and the result should be true if they are the same constructor.
 
The compiler already display an error when comparing with == an enum with parameters, for instance :
 
enum E {
   A;
   B( v : Int);
}
 
trace(A == B(0)); // error
 
I guess there's an issue with hxcpp that needs to be fixed in order to ensure that E.A == E.A.
Sep 14, 2011
Project Member #1 gameh...@gmail.com
Seems good.
Status: Fixed