We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5728b19 commit c8d9b0dCopy full SHA for c8d9b0d
compiler/src/dotty/tools/dotc/typer/Implicits.scala
@@ -73,7 +73,7 @@ object Implicits {
73
74
private var SingletonClass: ClassSymbol = null
75
76
- /** Widen type so that it is neither a singleton type nor it inherits from scala.Singleton. */
+ /** Widen type so that it is neither a singleton type nor a type that inherits from scala.Singleton. */
77
private def widenSingleton(tp: Type)(implicit ctx: Context): Type = {
78
if (SingletonClass == null) SingletonClass = defn.SingletonClass
79
val wtp = tp.widenSingleton
0 commit comments