Skip to content

Commit 30396ea

Browse files
committed
Go back to only revealing one level of IgnoredProto
1 parent e7086ef commit 30396ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ object ProtoTypes {
107107
/** A class marking ignored prototypes that can be revealed by `deepenProto` */
108108
case class IgnoredProto(ignored: Type) extends UncachedGroundType with MatchAlways {
109109
override def revealIgnored = ignored.revealIgnored
110-
override def deepenProto(implicit ctx: Context): Type = ignored.deepenProto
110+
override def deepenProto(implicit ctx: Context): Type = ignored
111111
}
112112

113113
/** A prototype for expressions [] that are part of a selection operation:

0 commit comments

Comments
 (0)