We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad960a3 commit 8ab5c64Copy full SHA for 8ab5c64
csv/generic/shared/src/main/scala-2/fs2/data/csv/generic/internal/MapShapedCsvRowDecoder.scala
@@ -74,7 +74,8 @@ private[generic] trait LowPriorityMapShapedCsvRowDecoder1 {
74
default: Option[Head] :: DefaultTail,
75
anno: Anno :: AnnoTail): DecoderResult[FieldType[Key, Head] :: Tail] = {
76
val head = row(anno.head.fold(witness.value.name)(_.name)) match {
77
- case Some(head) if head.isEmpty && default.head.nonEmpty => default.head.toRight(new DecoderError("Should not happen", row.line))
+ case Some(head) if head.isEmpty && default.head.nonEmpty =>
78
+ default.head.toRight(new DecoderError("Should not happen", row.line))
79
case Some(head) =>
80
Head(head).leftMap(_.withLine(row.line))
81
case _ =>
0 commit comments