aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Names.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2014-11-25 15:51:55 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-12-16 13:14:59 +0100
commit7d470b3e8c09fffd8a5c42e2aa8b22479e087a3a (patch)
treea6827e22c6b2b4faf2ff205ed8f4120d20cc7b11 /src/dotty/tools/dotc/core/Names.scala
parent981a21816e4cb10b8fbe4edcf0659fb3995d63f8 (diff)
downloaddotty-7d470b3e8c09fffd8a5c42e2aa8b22479e087a3a.tar.gz
dotty-7d470b3e8c09fffd8a5c42e2aa8b22479e087a3a.tar.bz2
dotty-7d470b3e8c09fffd8a5c42e2aa8b22479e087a3a.zip
Sharing backend between scalac and dotty.
Due to a lot of error and workarounds required for backend not regress in terms of speed, I guess the original idea was to high to be reached.. Nevertheless it was good to try.
Diffstat (limited to 'src/dotty/tools/dotc/core/Names.scala')
-rw-r--r--src/dotty/tools/dotc/core/Names.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Names.scala b/src/dotty/tools/dotc/core/Names.scala
index cf53d0445..f0d3f02eb 100644
--- a/src/dotty/tools/dotc/core/Names.scala
+++ b/src/dotty/tools/dotc/core/Names.scala
@@ -200,7 +200,7 @@ object Names {
private final val fillFactor = 0.7
/** Memory to store all names sequentially. */
- private var chrs: Array[Char] = new Array[Char](InitialNameSize)
+ private[dotty] var chrs: Array[Char] = new Array[Char](InitialNameSize)
/** The number of characters filled. */
private var nc = 0