mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
JPS mappings for incremental compilation refactoring: properly compare KmType objects to avoid node diff false positives
GitOrigin-RevId: cb22cae9149002e2a68d678b474cbb2d5799f9dd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1f64e37ecb
commit
f5cabbf706
@@ -389,7 +389,7 @@ public final class KotlinMeta implements JvmMetadata<KotlinMeta, KotlinMeta.Diff
|
||||
}
|
||||
|
||||
public boolean underlyingTypeChanged() {
|
||||
return !Objects.equals(past.getUnderlyingType(), now.getUnderlyingType());
|
||||
return !kmTypesEqual(past.getUnderlyingType(), now.getUnderlyingType());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -460,7 +460,7 @@ public final class KotlinMeta implements JvmMetadata<KotlinMeta, KotlinMeta.Diff
|
||||
}
|
||||
|
||||
public boolean nullabilityChanged() {
|
||||
return !Objects.equals(past.getReturnType(), now.getReturnType());
|
||||
return Attributes.isNullable(past.getReturnType()) != Attributes.isNullable(now.getReturnType());
|
||||
}
|
||||
|
||||
public boolean becameNullable() {
|
||||
|
||||
Reference in New Issue
Block a user