Skip to content

Commit 895f8fb

Browse files
oderskybracevac
andauthored
Apply suggestions from code review
Co-authored-by: Oliver Bračevac <bracevac@users.noreply.github.com>
1 parent a70df7b commit 895f8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ class CheckCaptures extends Recheck, SymTransformer:
962962
/** The additional capture set implied by the capture sets of its fields. This
963963
* is either empty or, if some fields have a terminal capability in their span
964964
* capture sets, it consists of a single fresh cap that subsumes all these terminal
965-
* capabiltities. Class parameters are not counted. If the type externds Separate,
965+
* capabiltities. Class parameters are not counted. If the type extends Separate,
966966
* we add a fresh cap in any case -- this is because we can currently hide
967967
* mutability in array vals, an example is neg-customargs/captures/matrix.scala.
968968
*/

0 commit comments

Comments
 (0)