Small fix in nullablilty handling

This commit is contained in:
Andrey Breslav
2011-07-04 14:34:04 +04:00
parent ef30fde1c2
commit 96cd0d1ae2
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ public class TypeInfo<T> implements JetObject {
if (!theClass.isAssignableFrom(other.theClass)) {
return false;
}
if (nullable != other.nullable) {
if (nullable && !other.nullable) {
return false;
}
if (typeParameters != null) {