clone() on arrays

It seems that in BaseLanguage, the clone() method is not defined on arrays. Is this intentional or a bug? It is incompatible with Java, so I would call it a bug.
4 comments
Could you please provide a code snippet to understand better the problem?
Plain: int[] clone = new int[10].clone(); works.
0



The error is “unresolved reference”.
0
screen shot did not make it via email...

Screen Shot 2014-04-29 at 8.24.51 AM.png
0
I see, you import this from Java sources. This is a bug. In BaseLanguage clone() operation for arrays happens to be a special concept (not a method call) – ArrayCloneOperation. Import from Java sources doesn't take it into account. Would you please file a ticket?
0

Please sign in to leave a comment.