Skip to content

Commit edc38af

Browse files
Update compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
1 parent 91f7a04 commit edc38af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class PlainPrinter(_ctx: Context) extends Printer {
8383
* to the name of the owner.
8484
*/
8585
protected def hasMeaninglessName(sym: Symbol): Boolean = (
86-
(sym.is(Param)) && sym.owner.isSetter // x$1
86+
sym.is(Param) && sym.owner.isSetter // x$1
8787
|| sym.isClassConstructor // this
8888
|| (sym.name == nme.PACKAGE) // package
8989
)

0 commit comments

Comments
 (0)