From 0006dba04f7c4c5759746e11dfda9c1685e2e435 Mon Sep 17 00:00:00 2001 From: David Francoeur Date: Tue, 19 Dec 2023 13:59:05 -0500 Subject: [PATCH] Irrelevant case in the pattern match --- .../src/internals/postprocess/AllOfTransformer.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/compiler-core/src/internals/postprocess/AllOfTransformer.scala b/modules/compiler-core/src/internals/postprocess/AllOfTransformer.scala index 09d841f..e396492 100644 --- a/modules/compiler-core/src/internals/postprocess/AllOfTransformer.scala +++ b/modules/compiler-core/src/internals/postprocess/AllOfTransformer.scala @@ -63,7 +63,6 @@ private[compiler] object AllOfTransformer extends IModelPostProcessor { case _: ServiceDef => false } loop(tail, hasRef) - case _ :: tail => loop(tail, isReferenced) } loop(allShapes.toList)