diff options
author | Martin Odersky <odersky@gmail.com> | 2013-12-07 18:14:29 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-12-07 18:14:29 +0100 |
commit | 377eb3318cdacd2dfb91d56be3649431ec1155f0 (patch) | |
tree | 058530f166821fdc58df3ba9833006c9da3d481c /src/dotty/tools/dotc/core/StdNames.scala | |
parent | e74b6316b93993e3c798bd9df45d83fc0665c52e (diff) | |
download | dotty-377eb3318cdacd2dfb91d56be3649431ec1155f0.tar.gz dotty-377eb3318cdacd2dfb91d56be3649431ec1155f0.tar.bz2 dotty-377eb3318cdacd2dfb91d56be3649431ec1155f0.zip |
Fixes for desugarings of case classes.
Also: Standardized on selectorName; Translate $init$ to <init> when unpickling.
Diffstat (limited to 'src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/StdNames.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala index 50e5b518b..03e9f3bfc 100644 --- a/src/dotty/tools/dotc/core/StdNames.scala +++ b/src/dotty/tools/dotc/core/StdNames.scala @@ -628,6 +628,8 @@ object StdNames { LOCALDUMMY_PREFIX ++ clazz.name ++ ">" def newBitmapName(bitmapPrefix: TermName, n: Int): TermName = bitmapPrefix ++ n.toString + + def selectorName(n: Int): TermName = "_" + (n + 1) } class ScalaTypeNames extends ScalaNames[TypeName] { |