Skip to content

Commit 65265e6

Browse files
committed
Simplify: fix build
1 parent 8a66a25 commit 65265e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/linker/Simplify.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class Simplify extends MiniPhaseTransform with IdentityDenotTransformer {
194194

195195
// Apply fun may be a side-effectful function. E.g. a block, see tests/run/t4859.scala
196196
// we need to maintain expressions that were in this block
197-
private def evalReciever(a: Apply, res: Tree) = {
197+
private def evalReciever(a: Apply, res: Tree)(implicit ctx: Context) = {
198198
def receiver(t: Tree):
199199
(Tree) = t match {
200200
case TypeApply(fun, targs) if fun.symbol eq t.symbol => receiver(fun)

0 commit comments

Comments
 (0)