diff options
author | Martin Odersky <odersky@gmail.com> | 2016-04-15 15:20:31 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-04-15 15:20:31 +0200 |
commit | 1607c7b0df62b19b3aafeb9966deb8faffcce605 (patch) | |
tree | 63684b1cad78da9f203a200273876352552dfbde | |
parent | c32a2acee179fecf1f9d5c53aab94547a1ee2d67 (diff) | |
download | dotty-1607c7b0df62b19b3aafeb9966deb8faffcce605.tar.gz dotty-1607c7b0df62b19b3aafeb9966deb8faffcce605.tar.bz2 dotty-1607c7b0df62b19b3aafeb9966deb8faffcce605.zip |
Make Names immutable Seqs
-rw-r--r-- | src/dotty/tools/dotc/core/Names.scala | 2 |
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 f1e6f7606..10eef16c1 100644 --- a/src/dotty/tools/dotc/core/Names.scala +++ b/src/dotty/tools/dotc/core/Names.scala @@ -37,7 +37,7 @@ object Names { */ abstract class Name extends DotClass with PreName - with Seq[Char] + with collection.immutable.Seq[Char] with IndexedSeqOptimized[Char, Name] { /** A type for names of the same kind as this name */ |