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 {
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` */
You can’t perform that action at this time.
0 commit comments