Skip to content

Commit dc0417a

Browse files
committed
.
1 parent ec9890e commit dc0417a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/unroll-default-arguments.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,8 @@ Notes:
428428
to addition of new fields due to
429429
[Option-less Pattern Matching](https://docs.scala-lang.org/scala3/reference/changed-features/pattern-matching.html).
430430
Thus, only direct calls to `.unapply` on an unrolled `case class` in Scala 2.x (shown below)
431-
will cause a crash if additional fields were added.
431+
will cause a crash if additional fields were added, or calls to `.tupled` or `.curried` on the
432+
`case class` companion `object.
432433

433434
```scala
434435
def foo(t: (String, Int)) = println(t)

0 commit comments

Comments
 (0)