summaryrefslogtreecommitdiff
path: root/src/compiler/scala/reflect/internal/Symbols.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2012-03-21 14:54:18 +0100
committerMartin Odersky <odersky@gmail.com>2012-03-21 14:54:18 +0100
commit437c626113711ebb5290c129611ee7f4b0c787f5 (patch)
tree81f9b4dfdc5a8a600230ffa17ec525c1891b0d0f /src/compiler/scala/reflect/internal/Symbols.scala
parente2951867f51bf464b07f759662bfc50dfaf48e5b (diff)
downloadscala-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.scala3
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) {