aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Denotations.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-02-05 02:47:08 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-02-05 02:49:26 +0100
commite177e782ff12c2288d2e5323a0cd1c65447627e0 (patch)
tree23ca596280e4d0bbe57b71e98b60171111ca9e33 /src/dotty/tools/dotc/core/Denotations.scala
parent11df014b7fab14999d2de1ce5f86ef860dabfe2e (diff)
downloaddotty-e177e782ff12c2288d2e5323a0cd1c65447627e0.tar.gz
dotty-e177e782ff12c2288d2e5323a0cd1c65447627e0.tar.bz2
dotty-e177e782ff12c2288d2e5323a0cd1c65447627e0.zip
Do not use println when SingleDenotation#signature fails
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/Denotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Denotations.scala b/src/dotty/tools/dotc/core/Denotations.scala
index 00ad90354..2af3f463d 100644
--- a/src/dotty/tools/dotc/core/Denotations.scala
+++ b/src/dotty/tools/dotc/core/Denotations.scala
@@ -465,7 +465,7 @@ object Denotations {
try info.signature
catch { // !!! DEBUG
case scala.util.control.NonFatal(ex) =>
- println(s"cannot take signature of ${info.show}")
+ ctx.println(s"cannot take signature of ${info.show}")
throw ex
}
case _ => Signature.NotAMethod