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 8a66a25 commit 65265e6Copy full SHA for 65265e6
compiler/src/dotty/tools/dotc/transform/linker/Simplify.scala
@@ -194,7 +194,7 @@ class Simplify extends MiniPhaseTransform with IdentityDenotTransformer {
194
195
// Apply fun may be a side-effectful function. E.g. a block, see tests/run/t4859.scala
196
// we need to maintain expressions that were in this block
197
- private def evalReciever(a: Apply, res: Tree) = {
+ private def evalReciever(a: Apply, res: Tree)(implicit ctx: Context) = {
198
def receiver(t: Tree):
199
(Tree) = t match {
200
case TypeApply(fun, targs) if fun.symbol eq t.symbol => receiver(fun)
0 commit comments