Skip to content

Commit

Permalink
Merge stale changes from language reference stable (#22635)
Browse files Browse the repository at this point in the history
Replaces #20076

It should target `main` instead of read-only `language-referecne-stable`
branch. At this point we cannot simply rebase it without having access
to original author repostiory (to force push)

[skip ci]
  • Loading branch information
WojciechMazur authored Feb 21, 2025
2 parents b9cecd2 + 680ea03 commit 4d48bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/reference/other-new-features/matchable.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The Scala 3 standard library has a type [`IArray`](https://scala-lang.org/api/3.
arrays that is defined like this:

```scala
opaque type IArray[+T] = Array[_ <: T]
opaque type IArray[+T] = Array[? <: T]
```

The `IArray` type offers extension methods for `length` and `apply`, but not for `update`; hence it seems values of type `IArray` cannot be updated.
Expand Down

0 comments on commit 4d48bce

Please sign in to comment.