diff --git a/jps/jps-plugin/src/org/jetbrains/kotlin/jps/incremental/ProtoCompareGenerated.kt b/jps/jps-plugin/src/org/jetbrains/kotlin/jps/incremental/ProtoCompareGenerated.kt index 81ea446d258..9dd6ea9ef24 100644 --- a/jps/jps-plugin/src/org/jetbrains/kotlin/jps/incremental/ProtoCompareGenerated.kt +++ b/jps/jps-plugin/src/org/jetbrains/kotlin/jps/incremental/ProtoCompareGenerated.kt @@ -430,11 +430,6 @@ open class ProtoCompareGenerated(public val oldNameResolver: NameResolver, publi if (old.varargElementTypeId != new.varargElementTypeId) return false } - if (old.hasExtension(JvmProtoBuf.index) != new.hasExtension(JvmProtoBuf.index)) return false - if (old.hasExtension(JvmProtoBuf.index)) { - if (old.getExtension(JvmProtoBuf.index) != new.getExtension(JvmProtoBuf.index)) return false - } - return true } @@ -1123,10 +1118,6 @@ public fun ProtoBuf.ValueParameter.hashCode(stringIndexes: (Int) -> Int, fqNameI hashCode = 31 * hashCode + varargElementTypeId } - if (hasExtension(JvmProtoBuf.index)) { - hashCode = 31 * hashCode + getExtension(JvmProtoBuf.index) - } - return hashCode }