diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-25 16:14:50 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-11 09:33:10 +0200 |
commit | 624b4eb59862644646dec685833c67c64756a8bd (patch) | |
tree | fd9b747a48be37b8ad6d32d5b909a1e68d1ca849 /compiler/src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | f9a9ddb879e9de4730a463f28c8b6602e0e60bbc (diff) | |
download | dotty-624b4eb59862644646dec685833c67c64756a8bd.tar.gz dotty-624b4eb59862644646dec685833c67c64756a8bd.tar.bz2 dotty-624b4eb59862644646dec685833c67c64756a8bd.zip |
Semantic SuperAccessor and Initializer names
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/SymDenotations.scala | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala index e50d6a133..845da95f2 100644 --- a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala @@ -377,10 +377,8 @@ object SymDenotations { // might have been moved from different origins into the same class /** The name with which the denoting symbol was created */ - final def originalName(implicit ctx: Context) = { - val d = initial - if (d is ExpandedName) d.name.unexpandedName else d.name // !!!DEBUG, was: effectiveName - } + final def originalName(implicit ctx: Context) = + initial.effectiveName /** The encoded full path name of this denotation, where outer names and inner names * are separated by `separator` strings. |