aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/NameOps.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-05-13 17:43:39 +0200
committerMartin Odersky <odersky@gmail.com>2015-05-13 17:43:39 +0200
commit45521484c5acb8f3174aebcd23674c0af955dc06 (patch)
tree18df78ff6f41eb0ec5d7d82115347adb4a03d940 /src/dotty/tools/dotc/core/NameOps.scala
parent4b82e83052de948c6a3b77c40892766421e259c2 (diff)
downloaddotty-45521484c5acb8f3174aebcd23674c0af955dc06.tar.gz
dotty-45521484c5acb8f3174aebcd23674c0af955dc06.tar.bz2
dotty-45521484c5acb8f3174aebcd23674c0af955dc06.zip
Fix #560 - refactor flatName
- Merge flatName and fullNameSeparated - Treat nested members of modules specially, to conform to scalac conventions - Use `~` as separator for term members.
Diffstat (limited to 'src/dotty/tools/dotc/core/NameOps.scala')
-rw-r--r--src/dotty/tools/dotc/core/NameOps.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/NameOps.scala b/src/dotty/tools/dotc/core/NameOps.scala
index ebf016acc..60aacd894 100644
--- a/src/dotty/tools/dotc/core/NameOps.scala
+++ b/src/dotty/tools/dotc/core/NameOps.scala
@@ -150,7 +150,7 @@ object NameOps {
/** The expanded name of `name` relative to given class `base`.
*/
def expandedName(base: Symbol)(implicit ctx: Context): N =
- expandedName(if (base is Flags.ExpandedName) base.name else base.fullNameSeparated('$'))
+ expandedName(if (base is Flags.ExpandedName) base.name else base.fullNameSeparated("$"))
/** The expanded name of `name` relative to `basename` with given `separator`
*/