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 4b03873 commit bbb8aecCopy full SHA for bbb8aec
tests/neg-custom-args/captures/ro-buf.scala
@@ -34,7 +34,7 @@ class Buf[A] extends Stateful:
34
elems(end) = elem.asInstanceOf[AnyRef] // error
35
// cannot call update method on Array[A] since it is read-only.
36
// elems is of type Array[A] since the self type is pure, so this
37
- // has type ArrayBuffer[A], which means that this.elems os read-only.
+ // has type ArrayBuffer[A], which means that this.elems is read-only.
38
end += 1
39
this
40
}
0 commit comments