Skip to content

Commit 69f44fd

Browse files
committed
Fix rebase breakage
1 parent c7e6dfe commit 69f44fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/Applications.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@ object Applications {
176176
def productArity: Int = app.productArity
177177
def productElement(n: Int): Any = app.productElement(n)
178178
}
179-
179+
180180
/** The unapply method of this extractor also recognizes ExtMethodApplys in closure blocks.
181181
* This is necessary to deal with closures as left arguments of extension method applications.
182182
* A test case is i5606.scala
183183
*/
184184
object ExtMethodApply {
185-
def apply(app: Tree) = new ExtMethodApply(app)
185+
def apply(app: Tree)(implicit ctx: Context) = new ExtMethodApply(app)
186186
def unapply(tree: Tree)(implicit ctx: Context): Option[Tree] = tree match {
187187
case tree: ExtMethodApply => Some(tree.app)
188188
case Block(stats, ExtMethodApply(app)) => Some(tpd.cpy.Block(tree)(stats, app))

0 commit comments

Comments
 (0)