Fix comparisons of derived tags (bug 6239).
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
enum Handle {
|
||||
INVALID_HANDLE,
|
||||
};
|
||||
|
||||
methodmap Handle {};
|
||||
methodmap ArrayList < Handle {};
|
||||
|
||||
public void MyCommand()
|
||||
{
|
||||
ArrayList myList;
|
||||
if (INVALID_HANDLE == myList)
|
||||
{
|
||||
}
|
||||
if (myList == INVALID_HANDLE)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user