Skip to content

Commit ef9984f

Browse files
committed
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.
1 parent 66e02a5 commit ef9984f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/runtime/vc/VCPrototype.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ abstract class VCArrayPrototype[T <: VCPrototype] extends Object with Cloneable
1010
def apply(idx: Int): Object
1111
def update(idx: Int, el: T): Unit
1212
def length: Int
13-
override def clone: Object = super.clone()
13+
override def clone(): Object = super.clone()
1414
}
1515

1616

0 commit comments

Comments
 (0)