Skip to content

Commit 7878dbc

Browse files
authored
Update compiler/src/dotty/tools/dotc/transform/Dependencies.scala
1 parent 5b8e6c9 commit 7878dbc

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
@@ -192,7 +192,7 @@ abstract class Dependencies(root: ast.tpd.Tree, @constructorOnly rootContext: Co
192192
*/
193193
def setLogicOwner(local: Symbol) =
194194
val encClass = local.owner.enclosingClass
195-
// When to [efer enclosing class over enclosing package:
195+
// When to prefer the enclosing class over the enclosing package:
196196
val preferEncClass =
197197
encClass.isStatic
198198
// If class is not static, we try to hoist the method out of

0 commit comments

Comments
 (0)