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 d03d8bd commit 23cc07fCopy full SHA for 23cc07f
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -4269,7 +4269,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
4269
def qualifying = (ownedVars -- locked).toList
4270
val resultAlreadyConstrained = pt1.isInstanceOf[MethodOrPoly]
4271
if !formal.isGround
4272
- && formal.simplified `ne` formal
+ && (formal.simplified `ne` formal)
4273
&& (pt1 `ne` pt)
4274
&& (pt1 ne sharpenedPt)
4275
&& (ownedVars ne locked)
0 commit comments