aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-01-04 19:07:43 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-01-04 19:07:43 +0100
commitef9984f87fbe965dc4de0d2926c3bd613d040608 (patch)
treeded9752b19ad0194e95faa52fd03632e9e426116 /src
parent66e02a5256cbd7519418e2409c4929a20b9e23ed (diff)
downloaddotty-ef9984f87fbe965dc4de0d2926c3bd613d040608.tar.gz
dotty-ef9984f87fbe965dc4de0d2926c3bd613d040608.tar.bz2
dotty-ef9984f87fbe965dc4de0d2926c3bd613d040608.zip
VCArrayPrototype: replace override "def clone" by "def clone()"
This prevented Dotty from bootstrapping when the file arguments were given in a certain order because of #1017. Regardless of what we do regarding #1017, it makes sense to use "def clone()" here.
Diffstat (limited to 'src')
-rw-r--r--src/dotty/runtime/vc/VCPrototype.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/runtime/vc/VCPrototype.scala b/src/dotty/runtime/vc/VCPrototype.scala
index 0a3abe5a2..212046ef8 100644
--- a/src/dotty/runtime/vc/VCPrototype.scala
+++ b/src/dotty/runtime/vc/VCPrototype.scala
@@ -10,7 +10,7 @@ abstract class VCArrayPrototype[T <: VCPrototype] extends Object with Cloneable
def apply(idx: Int): Object
def update(idx: Int, el: T): Unit
def length: Int
- override def clone: Object = super.clone()
+ override def clone(): Object = super.clone()
}