Skip to content

Commit bae3da9

Browse files
committed
Remove dead code
Now it is impossible to call `.##()`, only `.##` is allowed.
1 parent 0353e64 commit bae3da9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/src/dotty/tools/dotc/transform/InterceptedMethods.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,8 @@ class InterceptedMethods extends MiniPhase {
9292
}
9393

9494
}
95-
val Any_## = this.Any_##
9695
val Any_!= = defn.Any_!=
9796
val rewrite: Tree = tree.fun.symbol match {
98-
case Any_## =>
99-
poundPoundValue(qual)
10097
case Any_!= =>
10198
qual.select(defn.Any_==).appliedToArgs(tree.args).select(defn.Boolean_!)
10299
/*

0 commit comments

Comments
 (0)