diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-17 11:29:07 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-06 13:15:28 +0200 |
commit | c7718516fdad609625215f4fb1c7cffe27db3af5 (patch) | |
tree | 3c2a45791cf23d6572d78e72fb7e8c392fdccc5d /compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala | |
parent | 71daa0342120d2414c840a1dda2eae5e676aece2 (diff) | |
download | dotty-c7718516fdad609625215f4fb1c7cffe27db3af5.tar.gz dotty-c7718516fdad609625215f4fb1c7cffe27db3af5.tar.bz2 dotty-c7718516fdad609625215f4fb1c7cffe27db3af5.zip |
Remove parameter from lambda type
Diffstat (limited to 'compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala b/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala index 8232f31db..a4f9921db 100644 --- a/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala +++ b/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala @@ -217,7 +217,7 @@ class PlainPrinter(_ctx: Context) extends Printer { protected def simpleNameString(sym: Symbol): String = nameString(sym.name) /** If -uniqid is set, the hashcode of the polytype, after a # */ - protected def lambdaHash(pt: LambdaType[_]): Text = + protected def lambdaHash(pt: LambdaType): Text = if (ctx.settings.uniqid.value) "#" + pt.hashCode else "" /** If -uniqid is set, the unique id of symbol, after a # */ |