descriptors.proto: add skip_in_comparison option for (prepared to retire) constructor field in Class message
This commit is contained in:
@@ -141,8 +141,6 @@ open class ProtoCompareGenerated(private val oldNameResolver: NameResolver, priv
|
||||
}
|
||||
|
||||
open fun checkEquals(old: ProtoBuf.Type, new: ProtoBuf.Type): Boolean {
|
||||
if (!checkEquals(old.constructor, new.constructor)) return false
|
||||
|
||||
if (!checkEqualsTypeArgument(old, new)) return false
|
||||
|
||||
if (old.hasNullable() != new.hasNullable()) return false
|
||||
@@ -259,10 +257,6 @@ open class ProtoCompareGenerated(private val oldNameResolver: NameResolver, priv
|
||||
return true
|
||||
}
|
||||
|
||||
open fun checkEquals(old: ProtoBuf.Type.Constructor, new: ProtoBuf.Type.Constructor): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
open fun checkEquals(old: ProtoBuf.Type.Argument, new: ProtoBuf.Type.Argument): Boolean {
|
||||
if (old.hasProjection() != new.hasProjection()) return false
|
||||
if (old.hasProjection()) {
|
||||
|
||||
Reference in New Issue
Block a user