diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-16 19:06:14 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-06 13:15:28 +0200 |
commit | e6abcfc0d8009210cef8b78d14c13ddab267d921 (patch) | |
tree | 14cc12f650d49df06923b9c4cf792d0261040067 /compiler/src/dotty/tools/dotc/printing | |
parent | 5811755f91d2bd501124922c0348923b430f0c49 (diff) | |
download | dotty-e6abcfc0d8009210cef8b78d14c13ddab267d921.tar.gz dotty-e6abcfc0d8009210cef8b78d14c13ddab267d921.tar.bz2 dotty-e6abcfc0d8009210cef8b78d14c13ddab267d921.zip |
Get rid of Name parameter for LambdaType and ParamRef
Use an abstract type instead.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/printing')
-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 f32d5294b..8232f31db 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 # */ |