File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -212,12 +212,11 @@ object Applications {
212
212
overwriteType(app.tpe)
213
213
// ExtMethodApply always has wildcard type in order not to prompt any further adaptations
214
214
// such as eta expansion before the method is fully applied.
215
- }
216
215
217
216
/** Find reference to default parameter getter for parameter #n in current
218
217
* parameter list, or NoType if none was found
219
218
*/
220
- def findDefaultGetter (fn : Tree , n : Int , testOnly : Boolean )(using Context ): Tree = {
219
+ def findDefaultGetter (fn : Tree , n : Int , testOnly : Boolean )(using Context ): Tree =
221
220
if fn.symbol.isTerm then
222
221
val meth = fn.symbol.asTerm
223
222
val receiver : Tree = methPart(fn) match {
@@ -270,7 +269,6 @@ object Applications {
270
269
}
271
270
}
272
271
else EmptyTree // structural applies don't have symbols or defaults
273
- }// .showing(i"find getter $fn, $n = $result")
274
272
end findDefaultGetter
275
273
276
274
/** Splice new method reference `meth` into existing application `app` */
You can’t perform that action at this time.
0 commit comments