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.
2 parents 93cf7c4 + 38e4195 commit 1281357Copy full SHA for 1281357
src/dotty/tools/dotc/transform/InterceptedMethods.scala
@@ -103,7 +103,7 @@ class InterceptedMethods extends MiniPhaseTransform { thisTransform =>
103
s"that means the intercepted methods set doesn't match the code")
104
tree
105
}
106
- if (tree.fun.symbol.isTerm && tree.args.isEmpty &&
+ if (tree.fun.symbol.isTerm &&
107
(interceptedMethods contains tree.fun.symbol.asTerm)) {
108
val rewrite: Tree = tree.fun match {
109
case Select(qual, name) =>
0 commit comments