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 c65e954 commit 3f3f1baCopy full SHA for 3f3f1ba
compiler/src/dotty/tools/dotc/core/CheckRealizable.scala
@@ -126,6 +126,7 @@ class CheckRealizable(implicit ctx: Context) {
126
val refinementProblems =
127
for {
128
name <- refinedNames(tp)
129
+ if (name.isTypeName)
130
mbr <- tp.member(name).alternatives
131
if !(mbr.info.loBound <:< mbr.info.hiBound)
132
}
0 commit comments