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 9f539f8 commit 862817fCopy full SHA for 862817f
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -922,7 +922,6 @@ object Types {
922
* base type by applying one or more `underlying` dereferences.
923
*/
924
final def widenSingleton(implicit ctx: Context): Type = stripTypeVar.stripAnnots match {
925
- //case tp @ AnnotatedType(tp1, ann) => tp.derivedAnnotatedType(tp1.widenSingleton, ann)
926
case tp: SingletonType if !tp.isOverloaded => tp.underlying.widenSingleton
927
case _ => this
928
}
0 commit comments