Skip to content

Commit da5a902

Browse files
noti0na1Copilot
andauthored
Update compiler/src/dotty/tools/dotc/cc/Setup.scala
Fix typo Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5995e3b commit da5a902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ class Setup extends PreRecheck, SymTransformer, SetupAPI:
730730
selfInfo
731731
else if cls.derivesFrom(defn.Caps_Capability) then
732732
// If cls is a capability class, we need to add a fresh capability to
733-
// ensure we cannot tread itself as pure.
733+
// ensure we cannot treat itself as pure.
734734
CapturingType(cinfo.selfType,
735735
CaptureSet.fresh(Origin.InDecl(cls)).readOnly
736736
++ CaptureSet.Var(cls, level = ccState.currentLevel))

0 commit comments

Comments
 (0)