File tree 1 file changed +1
-2
lines changed
src/dotty/tools/dotc/transform 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisTransform
66
66
/** A map from local methods and classes to the owners to which they will be lifted as members.
67
67
* For methods and classes that do not have any dependencies this will be the enclosing package.
68
68
* symbols with packages as lifted owners will subsequently represented as static
69
- * members of their toplevel class.
69
+ * members of their toplevel class, unless their enclosing class was already static .
70
70
*/
71
71
private val liftedOwner = new HashMap [Symbol , Symbol ]
72
72
@@ -289,7 +289,6 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisTransform
289
289
for ((local, lOwner) <- liftedOwner) {
290
290
val (newOwner, maybeStatic) =
291
291
if (lOwner is Package ) {
292
- println(s " lifting $local encl class ${local.enclosingClass}" )
293
292
if (local.enclosingClass.isStatic) // member of a static object
294
293
(local.enclosingClass, EmptyFlags )
295
294
else
You can’t perform that action at this time.
0 commit comments