Skip to content

Commit 741b4d5

Browse files
committed
Cleanup
1 parent 00ab28b commit 741b4d5

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

compiler/src/dotty/tools/dotc/core/Definitions.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ class Definitions {
408408
alias.info.classSymbol.typeRef
409409
}
410410

411-
// lazy val SeqType: TypeRef = ctx.requiredClassRef("scala.collection.Seq")
412411
def SeqClass(implicit ctx: Context) = SeqType.symbol.asClass
413412
lazy val Seq_applyR = SeqClass.requiredMethodRef(nme.apply)
414413
def Seq_apply(implicit ctx: Context) = Seq_applyR.symbol

compiler/src/dotty/tools/dotc/typer/Implicits.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ object Implicits {
7171
/** The implicit references */
7272
def refs: List[ImplicitRef]
7373

74-
private var SingletonClass: ClassSymbol = null
74+
private[this] var SingletonClass: ClassSymbol = null
7575

7676
/** Widen type so that it is neither a singleton type nor a type that inherits from scala.Singleton. */
7777
private def widenSingleton(tp: Type)(implicit ctx: Context): Type = {

compiler/src/dotty/tools/dotc/typer/Inliner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ object Inliner {
124124
if needsAccessor(tree.symbol) && tree.isTerm && !tree.symbol.isConstructor =>
125125
val (refPart, targs, argss) = decomposeCall(tree)
126126
val qual = qualifier(refPart)
127-
println(i"adding receiver passing inline accessor for $tree/$refPart -> (${qual.tpe}, $refPart: ${refPart.getClass}, [$targs%, %], ($argss%, %))")
127+
inlining.println(i"adding receiver passing inline accessor for $tree/$refPart -> (${qual.tpe}, $refPart: ${refPart.getClass}, [$targs%, %], ($argss%, %))")
128128

129129
// Need to dealias in order to cagtch all possible references to abstracted over types in
130130
// substitutions

0 commit comments

Comments
 (0)