Skip to content

Commit 26442fd

Browse files
oderskyWojciechMazur
authored andcommitted
Update compiler/src/dotty/tools/dotc/transform/Dependencies.scala
[Cherry-picked 7878dbc]
1 parent 6b42afa commit 26442fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ abstract class Dependencies(root: ast.tpd.Tree, @constructorOnly rootContext: Co
191191
*/
192192
def setLogicOwner(local: Symbol) =
193193
val encClass = local.owner.enclosingClass
194-
// When to [efer enclosing class over enclosing package:
194+
// When to prefer the enclosing class over the enclosing package:
195195
val preferEncClass =
196196
encClass.isStatic
197197
// If class is not static, we try to hoist the method out of

0 commit comments

Comments
 (0)