From 91c61e4694097971b9a0c139048b7239d0f05588 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 28 Nov 2014 22:10:37 +0100 Subject: 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 ... --- src/dotty/tools/dotc/core/StdNames.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/dotty/tools/dotc/core/StdNames.scala') diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala index 8393eb56f..959e9cb84 100644 --- a/src/dotty/tools/dotc/core/StdNames.scala +++ b/src/dotty/tools/dotc/core/StdNames.scala @@ -433,7 +433,6 @@ object StdNames { val moduleClass : N = "moduleClass" val name: N = "name" val ne: N = "ne" - val newArray: N = "newArray" val newFreeTerm: N = "newFreeTerm" val newFreeType: N = "newFreeType" val newNestedSymbol: N = "newNestedSymbol" @@ -691,8 +690,7 @@ object StdNames { val arrayApply: TermName = "[]apply" val arrayUpdate: TermName = "[]update" val arrayLength: TermName = "[]length" - val arrayConstructor: TermName = "[]" - val names: Set[Name] = Set(arrayApply, arrayUpdate, arrayLength, arrayConstructor) + val names: Set[Name] = Set(arrayApply, arrayUpdate, arrayLength) } def isPrimitiveName(name: Name) = primitive.names.contains(name) -- cgit v1.2.3