diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-30 15:18:27 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-11 09:33:11 +0200 |
commit | 6786cea6969b9a64bc4583f9c8fbd26bc8fbf372 (patch) | |
tree | 9302ac9191f0dc662dee835256f7fef0f66cbd44 /compiler/src/dotty/tools/dotc/core/NameKinds.scala | |
parent | ab2d095943dc63414da8352ebf1e82bdb642450d (diff) | |
download | dotty-6786cea6969b9a64bc4583f9c8fbd26bc8fbf372.tar.gz dotty-6786cea6969b9a64bc4583f9c8fbd26bc8fbf372.tar.bz2 dotty-6786cea6969b9a64bc4583f9c8fbd26bc8fbf372.zip |
Make field names semantic
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/NameKinds.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/NameKinds.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/NameKinds.scala b/compiler/src/dotty/tools/dotc/core/NameKinds.scala index f5a758256..706320938 100644 --- a/compiler/src/dotty/tools/dotc/core/NameKinds.scala +++ b/compiler/src/dotty/tools/dotc/core/NameKinds.scala @@ -249,6 +249,7 @@ object NameKinds { val ProtectedSetterName = new PrefixNameKind(PROTECTEDSETTER, "protected$set") // dubious encoding, kept for Scala2 compatibility val AvoidClashName = new SuffixNameKind(AVOIDCLASH, "$_avoid_name_clash_$") val DirectName = new SuffixNameKind(DIRECT, "$direct") + val FieldName = new SuffixNameKind(FIELD, "$$local") val ModuleClassName = new SuffixNameKind(OBJECTCLASS, "$", optInfoString = "ModuleClass") object SignedName extends NameKind(63) { |