Skip to content

Commit bbb8aec

Browse files
oderskybracevac
andauthored
Update tests/neg-custom-args/captures/ro-buf.scala
Co-authored-by: Oliver Bračevac <bracevac@users.noreply.github.com>
1 parent 4b03873 commit bbb8aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/neg-custom-args/captures/ro-buf.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Buf[A] extends Stateful:
3434
elems(end) = elem.asInstanceOf[AnyRef] // error
3535
// cannot call update method on Array[A] since it is read-only.
3636
// 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.
37+
// has type ArrayBuffer[A], which means that this.elems is read-only.
3838
end += 1
3939
this
4040
}

0 commit comments

Comments
 (0)