Skip to content

Commit 1ecc48b

Browse files
committed
Fix rebase breakage
1 parent 084d13b commit 1ecc48b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,11 @@ object Applications {
212212
overwriteType(app.tpe)
213213
// ExtMethodApply always has wildcard type in order not to prompt any further adaptations
214214
// such as eta expansion before the method is fully applied.
215-
}
216215

217216
/** Find reference to default parameter getter for parameter #n in current
218217
* parameter list, or NoType if none was found
219218
*/
220-
def findDefaultGetter(fn: Tree, n: Int, testOnly: Boolean)(using Context): Tree = {
219+
def findDefaultGetter(fn: Tree, n: Int, testOnly: Boolean)(using Context): Tree =
221220
if fn.symbol.isTerm then
222221
val meth = fn.symbol.asTerm
223222
val receiver: Tree = methPart(fn) match {
@@ -270,7 +269,6 @@ object Applications {
270269
}
271270
}
272271
else EmptyTree // structural applies don't have symbols or defaults
273-
}//.showing(i"find getter $fn, $n = $result")
274272
end findDefaultGetter
275273

276274
/** Splice new method reference `meth` into existing application `app` */

0 commit comments

Comments
 (0)