aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/NameOps.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-11-28 22:10:37 +0100
committerMartin Odersky <odersky@gmail.com>2014-11-28 22:12:51 +0100
commit91c61e4694097971b9a0c139048b7239d0f05588 (patch)
tree6836b169dce43f32e588f60bb16d14dba850b254 /src/dotty/tools/dotc/core/NameOps.scala
parentb18ce863f5f2444a5a00ccc9d55c4ee12115c467 (diff)
downloaddotty-91c61e4694097971b9a0c139048b7239d0f05588.tar.gz
dotty-91c61e4694097971b9a0c139048b7239d0f05588.tar.bz2
dotty-91c61e4694097971b9a0c139048b7239d0f05588.zip
Previous scheme was buggy; leaked Array types to backend.
Now: All new Array[T] methods are translated to calls of the form dotty.Arrays.newXYZArray ...
Diffstat (limited to 'src/dotty/tools/dotc/core/NameOps.scala')
-rw-r--r--src/dotty/tools/dotc/core/NameOps.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/NameOps.scala b/src/dotty/tools/dotc/core/NameOps.scala
index bc15f6a06..a6b40fe66 100644
--- a/src/dotty/tools/dotc/core/NameOps.scala
+++ b/src/dotty/tools/dotc/core/NameOps.scala
@@ -204,7 +204,6 @@ object NameOps {
case nme.length => nme.primitive.arrayLength
case nme.update => nme.primitive.arrayUpdate
case nme.clone_ => nme.clone_
- case nme.CONSTRUCTOR => nme.primitive.arrayConstructor
}
/** If name length exceeds allowable limit, replace part of it by hash */