Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbbb8aec

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 parent4b03873 commitbbb8aec

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.elemsos read-only.
37+
// has type ArrayBuffer[A], which means that this.elemsis read-only.
3838
end+=1
3939
this
4040
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp