aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-27 21:55:26 +0200
committerMartin Odersky <odersky@gmail.com>2017-04-11 09:33:11 +0200
commit0021ffb0f1a0a857b7cdc8cdf769ae727dcb4b2c (patch)
tree89499a1172e48e81a86d61242090819d658c5aa7 /compiler/src/dotty/tools/dotc/core/SymDenotations.scala
parent1d6f5f7f33f9e4be29553cb7ef1e6f054a64dc6b (diff)
downloaddotty-0021ffb0f1a0a857b7cdc8cdf769ae727dcb4b2c.tar.gz
dotty-0021ffb0f1a0a857b7cdc8cdf769ae727dcb4b2c.tar.bz2
dotty-0021ffb0f1a0a857b7cdc8cdf769ae727dcb4b2c.zip
Add ShadowedName and AvoidClashName
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/SymDenotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala
index bbebdd21d..eb16b2188 100644
--- a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -252,7 +252,7 @@ object SymDenotations {
*/
def effectiveName(implicit ctx: Context) =
if (this is ModuleClass) name.stripModuleClassSuffix
- else name.stripAvoidClashSuffix
+ else name.exclude(AvoidClashName)
/** The privateWithin boundary, NoSymbol if no boundary is given.
*/