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 1729899 commit 2f8dc49Copy full SHA for 2f8dc49
compiler/src/dotty/tools/dotc/transform/IsInstanceOfChecker.scala
@@ -88,7 +88,8 @@ object Checkable {
88
def recur(X: Type, P: Type): Boolean = P match {
89
case _: SingletonType => true
90
case WildcardType => true
91
- case _ if isAbstract(P) => X <:< P
+ case _: TypeProxy
92
+ if isAbstract(P) => X <:< P
93
case defn.ArrayOf(tpT) =>
94
X match {
95
case defn.ArrayOf(tpE) => recur(tpE, tpT)
0 commit comments