diff --git a/modules/codegen/src/smithy4s/codegen/ToLine.scala b/modules/codegen/src/smithy4s/codegen/ToLine.scala index b58079531..7a575c26c 100644 --- a/modules/codegen/src/smithy4s/codegen/ToLine.scala +++ b/modules/codegen/src/smithy4s/codegen/ToLine.scala @@ -45,8 +45,7 @@ object ToLine { case Type.Alias(ns, name, Type.PrimitiveType(_)) => Line(Set(s"$ns.$name"), name) case Type.Alias(_, _, aliased) => - val (imports, t) = render(aliased).tupled - Line(imports, t) + render(aliased) case Type.Ref(namespace, name) => val imports = Set(s"$namespace.$name") Line(imports, name)