3419 return res; |
3419 return res; |
3420 } |
3420 } |
3421 |
3421 |
3422 @Override |
3422 @Override |
3423 protected Symbol access(Name name, TypeSymbol location) { |
3423 protected Symbol access(Name name, TypeSymbol location) { |
3424 return ambiguousSyms.last(); |
3424 Symbol firstAmbiguity = ambiguousSyms.last(); |
|
3425 return firstAmbiguity.kind == TYP ? |
|
3426 types.createErrorType(name, location, firstAmbiguity.type).tsym : |
|
3427 firstAmbiguity; |
3425 } |
3428 } |
3426 } |
3429 } |
3427 |
3430 |
3428 enum MethodResolutionPhase { |
3431 enum MethodResolutionPhase { |
3429 BASIC(false, false), |
3432 BASIC(false, false), |