Merge branch 'master' of github.com:wala/WALA
This commit is contained in:
commit
b32704b8a3
|
@ -87,6 +87,13 @@ _CAstNodeType(IS_DEFINED_EXPR);
|
|||
_CAstNodeType(INCLUDE)
|
||||
_CAstNodeType(NAMED_ENTITY_REF);
|
||||
_CAstNodeType(MACRO_VAR);
|
||||
_CAstNodeType(COMPREHENSION_EXPR);
|
||||
_CAstNodeType(NEW_ENCLOSING);
|
||||
_CAstNodeType(NARY_EXPR);
|
||||
_CAstNodeType(SPECIAL_PARENT_SCOPE);
|
||||
_CAstNodeType(YIELD_STMT);
|
||||
_CAstNodeType(FORIN_LOOP);
|
||||
_CAstNodeType(TYPE_LITERAL_EXPR);
|
||||
|
||||
#undef _CODE_CONSTANTS
|
||||
#undef _CPP_CONSTANTS
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class ConstantKey<T> implements InstanceKey {
|
|||
public boolean equals(Object obj) {
|
||||
if (obj instanceof ConstantKey) {
|
||||
ConstantKey other = (ConstantKey) obj;
|
||||
return value == null ? other.value == null : value.equals(other.value);
|
||||
return valueClass.equals(other.valueClass) ? (value == null ? other.value == null : value.equals(other.value)) : false;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue