aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-02-18 23:58:49 +0100
committerGuillaume Martres <smarter@ubuntu.com>2017-02-19 00:00:19 +0100
commit5b330f1fea7a4c7ad3a33c237e99cc31fabfba59 (patch)
tree73a88e3b385f850fa108e7a4099979336c78513d /compiler/src/dotty/tools/dotc/typer/Typer.scala
parent42e112b92a526bb9352febb14d8af48138bcfb87 (diff)
downloaddotty-5b330f1fea7a4c7ad3a33c237e99cc31fabfba59.tar.gz
dotty-5b330f1fea7a4c7ad3a33c237e99cc31fabfba59.tar.bz2
dotty-5b330f1fea7a4c7ad3a33c237e99cc31fabfba59.zip
ImportInfo: removed ctx parameter from constructor
ImportInfo#toString required the ctx parameter,so it was replaced by ImportInfo#toText.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/typer/Typer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala
index 498fd001b..f97bb5a78 100644
--- a/compiler/src/dotty/tools/dotc/typer/Typer.scala
+++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -145,7 +145,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
*/
def bindingString(prec: Int, whereFound: Context, qualifier: String = "") =
if (prec == wildImport || prec == namedImport) {
- ex"""imported$qualifier by ${hl"${whereFound.importInfo.toString}"}"""
+ ex"""imported$qualifier by ${hl"${whereFound.importInfo}"}"""
} else
ex"""defined$qualifier in ${hl"${whereFound.owner.toString}"}"""