diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-01-04 19:07:43 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-01-04 19:07:43 +0100 |
commit | ef9984f87fbe965dc4de0d2926c3bd613d040608 (patch) | |
tree | ded9752b19ad0194e95faa52fd03632e9e426116 /src | |
parent | 66e02a5256cbd7519418e2409c4929a20b9e23ed (diff) | |
download | dotty-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.scala | 2 |
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() } |