Lines 1029-1046
Link Here
|
1029 |
return true; |
1029 |
return true; |
1030 |
} |
1030 |
} |
1031 |
|
1031 |
|
1032 |
// No longer believe this code is necessary, since we changed supertype lookup to use TypeReference resolution |
1032 |
if (superType.isMemberType()) { |
1033 |
// if (superType.isMemberType()) { |
1033 |
ReferenceBinding current = superType.enclosingType(); |
1034 |
// ReferenceBinding current = superType.enclosingType(); |
1034 |
do { |
1035 |
// do { |
1035 |
if (current.isHierarchyBeingConnected() && current == sourceType) { |
1036 |
// if (current.isHierarchyBeingConnected()) { |
1036 |
problemReporter().hierarchyCircularity(sourceType, current, reference); |
1037 |
// problemReporter().hierarchyCircularity(sourceType, current, reference); |
1037 |
sourceType.tagBits |= TagBits.HierarchyHasProblems; |
1038 |
// sourceType.tagBits |= TagBits.HierarchyHasProblems; |
1038 |
current.tagBits |= TagBits.HierarchyHasProblems; |
1039 |
// current.tagBits |= TagBits.HierarchyHasProblems; |
1039 |
return true; |
1040 |
// return true; |
1040 |
} |
1041 |
// } |
1041 |
} while ((current = current.enclosingType()) != null); |
1042 |
// } while ((current = current.enclosingType()) != null); |
1042 |
} |
1043 |
// } |
|
|
1044 |
|
1043 |
|
1045 |
if (superType.isBinaryBinding()) { |
1044 |
if (superType.isBinaryBinding()) { |
1046 |
// force its superclass & superinterfaces to be found... 2 possibilities exist - the source type is included in the hierarchy of: |
1045 |
// force its superclass & superinterfaces to be found... 2 possibilities exist - the source type is included in the hierarchy of: |