You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[error] /Users/kubukoz/projects/demos/target/scala-2.13/src_managed/main/scala/input/U.scala:31:27: incompatible type in overriding
[error] def name: Option[String] (defined in trait HasName);
[error] found : String
[error] required: Option[String]
[error] final case class Person(name: String) extends U {
[error] ^
[error] one error found
Checked in 0.18.15.
The text was updated successfully, but these errors were encountered:
If you apply a mixin to a shape, and then make an inherited field required, smithy4s will not generate an
extends
with that mixin.However, if such a shape is part of and
@adt
union, the union still hasextends
. This results in a compilation error:Checked in 0.18.15.
The text was updated successfully, but these errors were encountered: