Skip to content

Commit 5e08edd

Browse files
committed
Cleanup
1 parent 6510ef7 commit 5e08edd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
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 = {

0 commit comments

Comments
 (0)