From 8550ed6cecceebd33217833841782d6dd4f25b97 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Tue, 29 Sep 2015 18:37:00 +0300 Subject: [PATCH] Cleanup descriptors.proto, regenerate - move enums and messages nested in Callable to top level, since they're likely to be reused in other messages soon - delete obsolete comments: some did not any value, some became obsolete with custom options ("id in StringTable" -> name_id_in_table) Original commit: e4090d3f30186405b11bb16657e6e199c12c2013 --- .../jetbrains/kotlin/jps/incremental/ProtoCompareGenerated.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 07f99c5ca12..2b7e42dfdc8 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 @@ -270,7 +270,7 @@ open class ProtoCompareGenerated(public val oldNameResolver: NameResolver, publi return true } - open fun checkEquals(old: ProtoBuf.Callable.ValueParameter, new: ProtoBuf.Callable.ValueParameter): Boolean { + open fun checkEquals(old: ProtoBuf.ValueParameter, new: ProtoBuf.ValueParameter): Boolean { if (old.hasFlags() != new.hasFlags()) return false if (old.hasFlags()) { if (old.flags != new.flags) return false @@ -753,7 +753,7 @@ public fun ProtoBuf.Annotation.hashCode(stringIndexes: (Int) -> Int, fqNameIndex return hashCode } -public fun ProtoBuf.Callable.ValueParameter.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int) -> Int): Int { +public fun ProtoBuf.ValueParameter.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int) -> Int): Int { var hashCode = 1 if (hasFlags()) {