Skip to content

Commit b865cee

Browse files
committed
Fix typos
1 parent 97d7bbf commit b865cee

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

compiler/src/dotty/tools/dotc/transform/Constructors.scala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ class Constructors extends MiniPhaseTransform with IdentityDenotTransformer { th
3737
// This test is done in the right-hand side of a value definition. If Memoize
3838
// was in the same group as Constructors, the test on the rhs ident would be
3939
// performed before the rhs undergoes the owner change. This would lead
40-
// to more symbls being retained as parameters. Test case is
41-
//
42-
// dotc tests/pos/captuing.scala -Xprint:constr
43-
//
44-
// `sf` should not be retained as a filed of class `MT`.
40+
// to more symbols being retained as parameters. Test case in run/capturing.scala.
4541

4642
/** The private vals that are known to be retained as class fields */
4743
private val retainedPrivateVals = mutable.Set[Symbol]()

0 commit comments

Comments
 (0)