diff options
author | Martin Odersky <odersky@gmail.com> | 2012-03-21 14:54:18 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2012-03-21 14:54:18 +0100 |
commit | 437c626113711ebb5290c129611ee7f4b0c787f5 (patch) | |
tree | 81f9b4dfdc5a8a600230ffa17ec525c1891b0d0f /src/compiler/scala/reflect/internal/Symbols.scala | |
parent | e2951867f51bf464b07f759662bfc50dfaf48e5b (diff) | |
download | scala-437c626113711ebb5290c129611ee7f4b0c787f5.tar.gz scala-437c626113711ebb5290c129611ee7f4b0c787f5.tar.bz2 scala-437c626113711ebb5290c129611ee7f4b0c787f5.zip |
Allows now private primary constructors in value classes.
Diffstat (limited to 'src/compiler/scala/reflect/internal/Symbols.scala')
-rw-r--r-- | src/compiler/scala/reflect/internal/Symbols.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/reflect/internal/Symbols.scala b/src/compiler/scala/reflect/internal/Symbols.scala index 2ba45c5972..f4039cf6d3 100644 --- a/src/compiler/scala/reflect/internal/Symbols.scala +++ b/src/compiler/scala/reflect/internal/Symbols.scala @@ -1872,7 +1872,8 @@ trait Symbols extends api.Symbols { self: SymbolTable => def unpackLocation: AnyRef = null /** Remove private modifier from symbol `sym`s definition. If `sym` is a - * term symbol rename it by expanding its name to avoid name clashes + * is not a constructor nor a static module rename it by expanding its name to avoid name clashes + * @param base the fully qualified name of this class will be appended if name expansion is needed */ final def makeNotPrivate(base: Symbol) { if (this.isPrivate) { |