Lines 347-359
Link Here
|
347 |
} |
347 |
} |
348 |
break; |
348 |
break; |
349 |
case ProblemReasons.NotFound : |
349 |
case ProblemReasons.NotFound : |
|
|
350 |
if (!this.isRecoveringBindings) { |
351 |
return null; |
352 |
} |
350 |
ITypeBinding binding = (ITypeBinding) this.bindingTables.compilerBindingsToASTBindings.get(referenceBinding); |
353 |
ITypeBinding binding = (ITypeBinding) this.bindingTables.compilerBindingsToASTBindings.get(referenceBinding); |
351 |
if (binding != null) { |
354 |
if (binding != null) { |
352 |
return binding; |
355 |
return binding; |
353 |
} |
356 |
} |
354 |
if ((referenceBinding.tagBits & TagBits.HasMissingType) != 0) { |
357 |
if ((referenceBinding.tagBits & TagBits.HasMissingType) != 0) { |
355 |
binding = new TypeBinding(this, referenceBinding); |
358 |
binding = new TypeBinding(this, referenceBinding); |
356 |
} else if (this.isRecoveringBindings) { |
359 |
} else { |
357 |
binding = new RecoveredTypeBinding(this, referenceBinding); |
360 |
binding = new RecoveredTypeBinding(this, referenceBinding); |
358 |
} |
361 |
} |
359 |
this.bindingTables.compilerBindingsToASTBindings.put(referenceBinding, binding); |
362 |
this.bindingTables.compilerBindingsToASTBindings.put(referenceBinding, binding); |