We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e51b8f1 commit b92fa3eCopy full SHA for b92fa3e
compiler/src/dotty/tools/dotc/core/Annotations.scala
@@ -62,7 +62,7 @@ object Annotations {
62
if tm.isRange(x) then x
63
else
64
val tp1 = tm(tree.tpe)
65
- foldOver(if tp1 eq tree.tpe then x else tp1, tree)
+ foldOver(if tp1 == tree.tpe then x else tp1, tree)
66
val diff = findDiff(NoType, args)
67
if tm.isRange(diff) then EmptyAnnotation
68
else if diff.exists then derivedAnnotation(tm.mapOver(tree))
0 commit comments