aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-12-16 18:33:39 +0100
committerMartin Odersky <odersky@gmail.com>2013-12-16 18:34:24 +0100
commite1e372cc833e3e9d0d02c1ffa453667f50dbc784 (patch)
treea28dd45cf2c696204e82dddfd2a4e0ba8e06517e /src/dotty/tools/dotc/core/SymDenotations.scala
parent00507cf758cfafa36dc4da372a7e53028fa979a4 (diff)
downloaddotty-e1e372cc833e3e9d0d02c1ffa453667f50dbc784.tar.gz
dotty-e1e372cc833e3e9d0d02c1ffa453667f50dbc784.tar.bz2
dotty-e1e372cc833e3e9d0d02c1ffa453667f50dbc784.zip
Better handling of cyclic reference errors.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index ccf4f83e7..0fd8f1acb 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -692,6 +692,7 @@ object SymDenotations {
else if (isClass) "class"
else if (isType) "type"
else if (this is Module) "module"
+ else if (this is Method) "method"
else "val"
s"$kindString $name"
}