From aede318fd55d5452ed1919b5a65b5ff5e1d75a9d Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Fri, 3 Jun 2016 15:06:40 +0300 Subject: [PATCH] Protobuf diff: do not throw exception on TYPE_ALIAS_LIST --- .../org/jetbrains/kotlin/incremental/protoDifferenceUtils.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-common/src/org/jetbrains/kotlin/incremental/protoDifferenceUtils.kt b/build-common/src/org/jetbrains/kotlin/incremental/protoDifferenceUtils.kt index 640d875b307..dcb67a30354 100644 --- a/build-common/src/org/jetbrains/kotlin/incremental/protoDifferenceUtils.kt +++ b/build-common/src/org/jetbrains/kotlin/incremental/protoDifferenceUtils.kt @@ -262,7 +262,8 @@ private class DifferenceCalculatorForPackageFacade(oldData: ProtoMapValue, newDa ProtoBufPackageKind.PROPERTY_LIST -> names.addAll(calcDifferenceForNonPrivateMembers(ProtoBuf.Package::getPropertyList)) ProtoBufPackageKind.TYPE_TABLE, - ProtoBufPackageKind.PACKAGE_MODULE_NAME -> { + ProtoBufPackageKind.PACKAGE_MODULE_NAME, + ProtoBufPackageKind.TYPE_ALIAS_LIST -> { // TODO } else -> throw IllegalArgumentException("Unsupported kind: $kind")