From 01d53697b8bc019dd55807ef10b6b6623cfb163d Mon Sep 17 00:00:00 2001 From: Nadav Samet Date: Sat, 7 Oct 2023 17:16:21 -0700 Subject: [PATCH] fix types --- .../src/main/scala/scalapb/compiler/DescriptorImplicits.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-plugin/src/main/scala/scalapb/compiler/DescriptorImplicits.scala b/compiler-plugin/src/main/scala/scalapb/compiler/DescriptorImplicits.scala index 5922d0b68..cc8eca64b 100644 --- a/compiler-plugin/src/main/scala/scalapb/compiler/DescriptorImplicits.scala +++ b/compiler-plugin/src/main/scala/scalapb/compiler/DescriptorImplicits.scala @@ -689,9 +689,9 @@ class DescriptorImplicits private[compiler] ( case SealedOneofStyle.Optional => messageOptions.getSealedOneofExtendsList.asScala.toSeq } - def derives: Seq[String] = messageOptions.getDerivesList.asScala + def derives: Seq[String] = messageOptions.getDerivesList.asScala.toSeq - def sealedOneofDerives: Seq[String] = messageOptions.getSealedOneofDerivesList.asScala + def sealedOneofDerives: Seq[String] = messageOptions.getSealedOneofDerivesList.asScala.toSeq def nestedTypes: Seq[Descriptor] = message.getNestedTypes.asScala.toSeq