Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: X10 1.7 - JVM hosted
-
Fix Version/s: X10 1.7.1 - JVM Hosted
-
Component/s: XRX Runtime
-
Labels:None
-
Number of attachments :
Description
public class Bug { static class C implements Iterable[int] { incomplete public def iterator(): Iterator[int]; } }
cannot find symbol
symbol : class Iterable
location: package java.util
implements java.util.Iterable<java.lang.Integer>
^
classes\Bug.java:46: interface expected here
implements java.util.Iterable<java.lang.Integer>
^
2 errors
NativeRep annotation on x10.lang.Iterable pointed to java.util.Iterable rather than java.lang.Iterable. Annotation on x10.util.Iterator did not include parameter type.