aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2015-05-31 12:49:23 +0200
committerGuillaume Martres <smarter@ubuntu.com>2015-05-31 12:49:23 +0200
commit6d31c9bb6b92309d17779ec5820fcffe4e59e601 (patch)
tree9aac66d815b09761a8df21941f9b753afe61545d /src
parent12ad67419ca4cb7dcf4463990902d9e3e2b1ece6 (diff)
downloaddotty-6d31c9bb6b92309d17779ec5820fcffe4e59e601.tar.gz
dotty-6d31c9bb6b92309d17779ec5820fcffe4e59e601.tar.bz2
dotty-6d31c9bb6b92309d17779ec5820fcffe4e59e601.zip
Add missing string interpolator prefix in some AST nodes' toString
Diffstat (limited to 'src')
-rw-r--r--src/dotty/tools/dotc/ast/Trees.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/ast/Trees.scala b/src/dotty/tools/dotc/ast/Trees.scala
index e46c071d7..97facaa5d 100644
--- a/src/dotty/tools/dotc/ast/Trees.scala
+++ b/src/dotty/tools/dotc/ast/Trees.scala
@@ -347,7 +347,7 @@ object Trees {
class BackquotedIdent[-T >: Untyped] private[ast] (name: Name)
extends Ident[T](name) {
- override def toString = "BackquotedIdent($name)"
+ override def toString = s"BackquotedIdent($name)"
}
/** qualifier.name */
@@ -358,7 +358,7 @@ object Trees {
class SelectWithSig[-T >: Untyped] private[ast] (qualifier: Tree[T], name: Name, val sig: Signature)
extends Select[T](qualifier, name) {
- override def toString = "SelectWithSig($qualifier, $name, $sig)"
+ override def toString = s"SelectWithSig($qualifier, $name, $sig)"
}
/** qual.this */